Fixed #6 - Fixed editor issue
parent
beafc5a03f
commit
fd6b9abc25
|
@ -60,9 +60,11 @@ export default {
|
||||||
},
|
},
|
||||||
quill: null,
|
quill: null,
|
||||||
watch: {
|
watch: {
|
||||||
value(newValue) {
|
value(newValue, oldValue) {
|
||||||
|
if (newValue !== oldValue && this.quill && !this.quill.hasFocus()) {
|
||||||
this.renderValue(newValue);
|
this.renderValue(newValue);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.quill = new Quill(this.$refs.editorElement, {
|
this.quill = new Quill(this.$refs.editorElement, {
|
||||||
|
|
Loading…
Reference in New Issue