fix for setReadOnly
This commit is contained in:
parent
313c4f77f7
commit
fe3e92a3f9
1 changed files with 4 additions and 3 deletions
|
|
@ -2210,7 +2210,8 @@ config.defineOptions(Editor.prototype, "editor", {
|
|||
readOnly: {
|
||||
set: function(readOnly) {
|
||||
this.textInput.setReadOnly(readOnly);
|
||||
this.renderer.$cursorLayer.setBlinking(!readOnly);
|
||||
var cursorLayer = this.renderer.$cursorLayer;
|
||||
cursorLayer && cursorLayer.setBlinking(!readOnly);
|
||||
},
|
||||
initialValue: false
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue