diff --git a/src/case/richeditor/niceditor/niceditor.js b/src/case/richeditor/niceditor/niceditor.js index bd0895c0b8..7a01fc8f94 100644 --- a/src/case/richeditor/niceditor/niceditor.js +++ b/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) { this.ne.fireEvent("keydown", e); },