We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51a072d + 3663053 commit bb108e8Copy full SHA for bb108e8
src/assets/editors/ckeditor.js
@@ -141,7 +141,7 @@ class CKEditorEditor extends StringEditor {
141
enable () {
142
if(!this.always_disabled) {
143
this.input.disabled = false;
144
- if(this.instance) {
+ if(this.instance && this.instance.editable()) {
145
this.instance.setReadOnly(false);
146
}
147
super.enable();
@@ -151,7 +151,7 @@ class CKEditorEditor extends StringEditor {
151
disable (always_disabled) {
152
if(always_disabled) this.always_disabled = true;
153
this.input.disabled = true;
154
155
this.instance.setReadOnly(true);
156
157
super.disable();
0 commit comments