fay 7 years ago
parent
commit
75cc1b7ae8
  1. 7
      src/case/richeditor/niceditor/niceditor.js

7
src/case/richeditor/niceditor/niceditor.js

@ -254,6 +254,13 @@
} }
}, },
restoreRngAndClearRange: function () {
if (this.savedRange) {
this.savedRange.setStart(this.savedRange.endContainer, this.savedRange.endOffset);
this.selRng(this.savedRange, this.savedSel);
}
},
keyDown: function (e, t) { keyDown: function (e, t) {
this.ne.fireEvent("keydown", e); this.ne.fireEvent("keydown", e);
}, },

Loading…
Cancel
Save