diff --git a/lib/vue/src/components/input/CRichTextInput/index.vue b/lib/vue/src/components/input/CRichTextInput/index.vue index c04b391e5..f0451e27d 100644 --- a/lib/vue/src/components/input/CRichTextInput/index.vue +++ b/lib/vue/src/components/input/CRichTextInput/index.vue @@ -98,7 +98,9 @@ export default { init () { this.editor = new Editor({ extensions: this.formats, - content: this.value, + // Bypass Editor default empty white space script with an empty space string if there is no value because it's not really valid html + // also ensuring that the unsaved changes alert detection is not triggered when the Editor does not have any changes + content: this.value || ' ', parseOptions: { preserveWhitespace: 'full', },