Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix contenType event not firing on non-Quill editor mode

Kailash Nadhbb1a5bb8773f
diff --git a/frontend/src/components/Editor.vue b/frontend/src/components/Editor.vue
index 2863aaab..6ec46462 100644
--- a/frontend/src/components/Editor.vue
+++ b/frontend/src/components/Editor.vue
@@ -244,6 +244,8 @@ export default {
this.form.body = b;
this.$emit('input', { contentType: this.form.format, body: this.form.body });
});
+
+ this.isReady = true;
},
onTogglePreview() {
@@ -288,6 +290,7 @@ export default {
body(b) {
this.form.body = b;
+ this.onEditorChange();
},
htmlFormat(f) {