发布 v2.5.1 针对 v2.5.0 版本新特性bug修复

This commit is contained in:
疯狂的狮子li
2021-07-13 13:57:44 +08:00
parent 49c2809895
commit 51d1e3c8c1
24 changed files with 141 additions and 84 deletions

View File

@ -130,14 +130,14 @@ export default {
this.quill.format("image", false);
}
});
toolbar.addHandler("video", (value) => {
this.uploadType = "video";
if (value) {
this.$refs.upload.$children[0].$refs.input.click();
} else {
this.quill.format("video", false);
}
});
// toolbar.addHandler("video", (value) => {
// this.uploadType = "video";
// if (value) {
// this.$refs.upload.$children[0].$refs.input.click();
// } else {
// this.quill.format("video", false);
// }
// });
}
this.Quill.pasteHTML(this.currentValue);
this.Quill.on("text-change", (delta, oldDelta, source) => {