Always set the value

parent 89a8e21b
......@@ -46,10 +46,7 @@
},
watch: {
value (val) {
let html = this.instance.getData()
if (val !== html) {
this.instance.setData(val, null, true)
}
this.instance.setData(val, null, true);
}
},
mounted () {
......
......@@ -69310,6 +69310,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
//
//
// Source: https://github.com/dangvanthanh/vue-ckeditor2
var inc = 0;
/* harmony default export */ __webpack_exports__["default"] = ({
name: 'vue-ckeditor',
......@@ -69351,11 +69352,8 @@ var inc = 0;
},
watch: {
value: function value(val) {
var html = this.instance.getData();
if (val !== html) {
this.instance.setData(val, null, true);
}
}
},
mounted: function mounted() {
var _this = this;
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