Fix contenType event not firing on non-Quill editor mode
This commit is contained in:
parent
27d9eab4a2
commit
bb1a5bb877
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue