Fixing back ckeditor

parent 97558860
......@@ -46,11 +46,10 @@
},
watch: {
value (val) {
//console.log(this.value, this.instance);
this.instance.setData(this.value)
// let html = this.instance.getData();
// if (val !== html) {
// }
let html = this.instance.getData();
if (val !== html) {
this.instance.setData(val);
}
}
},
mounted () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment