From 77b9af480ae580dfcaca3dedef87c362d3485a44 Mon Sep 17 00:00:00 2001 From: fay Date: Thu, 19 Jul 2018 15:23:11 +0800 Subject: [PATCH] update --- src/case/richeditor/niceditor/niceditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;