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.form.body = b;
|
||||||
this.$emit('input', { contentType: this.form.format, body: this.form.body });
|
this.$emit('input', { contentType: this.form.format, body: this.form.body });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.isReady = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
onTogglePreview() {
|
onTogglePreview() {
|
||||||
|
@ -288,6 +290,7 @@ export default {
|
||||||
|
|
||||||
body(b) {
|
body(b) {
|
||||||
this.form.body = b;
|
this.form.body = b;
|
||||||
|
this.onEditorChange();
|
||||||
},
|
},
|
||||||
|
|
||||||
htmlFormat(f) {
|
htmlFormat(f) {
|
||||||
|
|
Loading…
Reference in New Issue