|
@@ -108,7 +108,7 @@ export default { |
|
@@ -108,7 +108,7 @@ export default { |
|
108
|
if (val !== this.currentValue) {
|
108
|
if (val !== this.currentValue) {
|
|
109
|
this.currentValue = val === null ? "" : val;
|
109
|
this.currentValue = val === null ? "" : val;
|
|
110
|
if (this.Quill) {
|
110
|
if (this.Quill) {
|
|
111
|
- this.Quill.pasteHTML(this.currentValue);
|
111
|
+ this.Quill.clipboard.dangerouslyPasteHTML(this.currentValue);
|
|
112
|
}
|
112
|
}
|
|
113
|
}
|
113
|
}
|
|
114
|
},
|
114
|
},
|
|
@@ -136,7 +136,7 @@ export default { |
|
@@ -136,7 +136,7 @@ export default { |
|
136
|
}
|
136
|
}
|
|
137
|
});
|
137
|
});
|
|
138
|
}
|
138
|
}
|
|
139
|
- this.Quill.pasteHTML(this.currentValue);
|
139
|
+ this.Quill.clipboard.dangerouslyPasteHTML(this.currentValue);
|
|
140
|
this.Quill.on("text-change", (delta, oldDelta, source) => {
|
140
|
this.Quill.on("text-change", (delta, oldDelta, source) => {
|
|
141
|
const html = this.$refs.editor.children[0].innerHTML;
|
141
|
const html = this.$refs.editor.children[0].innerHTML;
|
|
142
|
const text = this.Quill.getText();
|
142
|
const text = this.Quill.getText();
|