From b524ed05cdcc9357f2d7aeb33820f5af5c784f87 Mon Sep 17 00:00:00 2001 From: fay Date: Thu, 19 Jul 2018 15:11:35 +0800 Subject: [PATCH] update --- src/case/richeditor/niceditor/niceditor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/case/richeditor/niceditor/niceditor.js b/src/case/richeditor/niceditor/niceditor.js index b5aead581..5d0193263 100644 --- a/src/case/richeditor/niceditor/niceditor.js +++ b/src/case/richeditor/niceditor/niceditor.js @@ -377,7 +377,7 @@ }, initSelection: function (newLine) { - var newLineHtml = this._isIE10Below() ? "

" : "


" + var newLineHtml = this._isIE11Below() ? "

" : "


" var el = this.elm.element; var children = el.children(); if (!children.length) { @@ -418,11 +418,11 @@ return false; }, - _isIE10Below: function() { + _isIE11Below: function() { if (!BI.isIE()) { return false; } - return BI.getIEVersion() < 10; + return BI.getIEVersion() < 11; } }); }());