fix vim keys don't work in read-only files
This commit is contained in:
parent
2a2efb133b
commit
96145bcd8a
1 changed files with 2 additions and 1 deletions
|
|
@ -2389,7 +2389,8 @@ config.defineOptions(Editor.prototype, "editor", {
|
|||
},
|
||||
readOnly: {
|
||||
set: function(readOnly) {
|
||||
this.textInput.setReadOnly(readOnly);
|
||||
// disabled to not break vim mode!
|
||||
// this.textInput.setReadOnly(readOnly);
|
||||
this.$resetCursorStyle();
|
||||
},
|
||||
initialValue: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue