diff --git a/components/editor/Editor.vue b/components/editor/Editor.vue index e35815b1b..18e81e8a6 100755 --- a/components/editor/Editor.vue +++ b/components/editor/Editor.vue @@ -19,7 +19,7 @@ - + @@ -69,10 +69,16 @@ export default { editorStyle: null, modules: null }, + data() { + return { + reRenderColorKey: 0 + }; + }, quill: null, watch: { modelValue(newValue, oldValue) { if (newValue !== oldValue && this.quill && !this.quill.hasFocus()) { + this.reRenderColorKey++; this.renderValue(newValue); } }