Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
c8b66f9b
"...admin-cloud-eureka-server/vscode:/vscode.git/clone" did not exist on "fdcd70cea4addd4732e63c02f5c47ea718dc0ad5"
Commit
c8b66f9b
authored
Jul 13, 2021
by
RuoYi
Browse files
删除富文本video事件
parent
25d9edd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/components/Editor/index.vue
View file @
c8b66f9b
...
@@ -130,14 +130,14 @@ export default {
...
@@ -130,14 +130,14 @@ export default {
this
.
quill
.
format
(
"
image
"
,
false
);
this
.
quill
.
format
(
"
image
"
,
false
);
}
}
});
});
toolbar
.
addHandler
(
"
video
"
,
(
value
)
=>
{
//
toolbar.addHandler("video", (value) => {
this
.
uploadType
=
"
video
"
;
//
this.uploadType = "video";
if
(
value
)
{
//
if (value) {
this
.
$refs
.
upload
.
$children
[
0
].
$refs
.
input
.
click
();
//
this.$refs.upload.$children[0].$refs.input.click();
}
else
{
//
} else {
this
.
quill
.
format
(
"
video
"
,
false
);
//
this.quill.format("video", false);
}
//
}
});
//
});
}
}
this
.
Quill
.
pasteHTML
(
this
.
currentValue
);
this
.
Quill
.
pasteHTML
(
this
.
currentValue
);
this
.
Quill
.
on
(
"
text-change
"
,
(
delta
,
oldDelta
,
source
)
=>
{
this
.
Quill
.
on
(
"
text-change
"
,
(
delta
,
oldDelta
,
source
)
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment