@@ -59,9 +59,9 @@ export default {
removeButtons:
"Underline,Subscript,Superscript,Image,HorizontalRule,Unlink,Link,Scayt,Cut,Copy,Paste,PasteText,PasteFromWord,Maximize,Italic,Bold,NumberedList,BulletedList,Indent,Outdent,Blockquote,Styles,Format,About,RemoveFormat,Strike"
};
- var editor = window.CKEDITOR.replace(this.id, config);
+ window.CKEDITOR.replace(this.id, config);
this.instance.on("instanceReady", ev => {
- editor = ev.editor;
+ let editor = ev.editor;
editor.setReadOnly(this.readonly);
});
this.instance.on("change", () => {