diff --git a/src/components/Tinymce/src/Editor.vue b/src/components/Tinymce/src/Editor.vue index 3c4071f0..a58df7aa 100644 --- a/src/components/Tinymce/src/Editor.vue +++ b/src/components/Tinymce/src/Editor.vue @@ -92,6 +92,7 @@ } ); onMountedOrActivated(() => { + tinymceId.value = snowUuid('tiny-vue'); nextTick(() => { init(); }); @@ -152,6 +153,7 @@ function bindModelHandlers(editor: any) { const modelEvents = attrs.modelEvents ? attrs.modelEvents : null; const normalizedEvents = Array.isArray(modelEvents) ? modelEvents.join(' ') : modelEvents; + watch( () => props.modelValue, (val: string, prevVal: string) => {