restore textInput.setReadOnly call
needed for disabling contextmenu items
This commit is contained in:
parent
1d4d76b1ea
commit
ca47093bc8
1 changed files with 4 additions and 1 deletions
|
|
@ -2367,7 +2367,10 @@ config.defineOptions(Editor.prototype, "editor", {
|
||||||
initialValue: true
|
initialValue: true
|
||||||
},
|
},
|
||||||
readOnly: {
|
readOnly: {
|
||||||
set: function(readOnly) { this.$resetCursorStyle(); },
|
set: function(readOnly) {
|
||||||
|
this.textInput.setReadOnly(readOnly);
|
||||||
|
this.$resetCursorStyle();
|
||||||
|
},
|
||||||
initialValue: false
|
initialValue: false
|
||||||
},
|
},
|
||||||
cursorStyle: {
|
cursorStyle: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue