diff --git a/src/case/richeditor/niceditor/niceditor.js b/src/case/richeditor/niceditor/niceditor.js index 5d0193263..372083bcd 100644 --- a/src/case/richeditor/niceditor/niceditor.js +++ b/src/case/richeditor/niceditor/niceditor.js @@ -394,7 +394,7 @@ var html = last.html().toLowerCase(); var nodeName = last.nodeName; if ((html !== "
" && html !== "") || nodeName !== "P") { - // 最后一个元素不是


,添加一个空行,重新设置选区 + // 最后一个元素不是空行,添加一个空行,重新设置选区 el.append(newLineHtml); this.initSelection(); return;