Fix contenType event not firing on non-Quill editor mode

This commit is contained in:
Kailash Nadh 2021-01-31 12:59:33 +05:30
parent 27d9eab4a2
commit bb1a5bb877
1 changed files with 3 additions and 0 deletions

View File

@ -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) {