diff --git a/src/case/richeditor/niceditor/niceditor.js b/src/case/richeditor/niceditor/niceditor.js
index 612dc46d0..d92fa3103 100644
--- a/src/case/richeditor/niceditor/niceditor.js
+++ b/src/case/richeditor/niceditor/niceditor.js
@@ -6,6 +6,12 @@
* @extends BI.Widget
*/
!(function () {
+ function isIE11Below () {
+ if (!BI.isIE()) {
+ return false;
+ }
+ return BI.getIEVersion() < 11;
+ }
BI.NicEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.NicEditor.superclass._defaultConfig.apply(this, arguments), {
@@ -85,7 +91,7 @@
},
setValue: function (v) {
- v = v || "
";
+ v = v || ( isIE11Below() ? "" : "
");
v = v.startWith("
") ? v : "
" + v + "
"; this.instance.setContent(v); }, @@ -315,7 +321,7 @@ var newLine; var html = this.elm.element.html().toLowerCase().trim(); if (!html || html === '