|
@@ -61,8 +61,7 @@ export default {
|
|
|
};
|
|
|
window.CKEDITOR.replace(this.id, config);
|
|
|
this.instance.on("instanceReady", ev => {
|
|
|
- let editor = ev.editor;
|
|
|
- editor.setReadOnly(this.readonly);
|
|
|
+ ev.editor.setReadOnly(this.readonly);
|
|
|
});
|
|
|
this.instance.on("change", () => {
|
|
|
let html = this.instance.getData();
|