|
@@ -169,7 +169,13 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+ this.Quill.enable(false);
|
|
|
this.Quill.pasteHTML(this.currentValue);
|
|
|
+ this.$nextTick(function() {
|
|
|
+ this.Quill.blur();
|
|
|
+ this.Quill.enable(true);
|
|
|
+ });
|
|
|
this.Quill.on("text-change", (delta, oldDelta, source) => {
|
|
|
const html = this.$refs.editor.children[0].innerHTML;
|
|
|
const text = this.Quill.getText();
|