From f0d133d2984273eedbb4981992b68ec8a49494eb Mon Sep 17 00:00:00 2001 From: fay Date: Wed, 25 Jul 2018 17:38:00 +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 3a33a2aa1..441eec3b3 100644 --- a/src/case/richeditor/niceditor/niceditor.js +++ b/src/case/richeditor/niceditor/niceditor.js @@ -97,7 +97,7 @@ setValue: function (v) { v = v || ( isIE11Below() ? "" : "
"); - v = ($(v)[0] && $(v)[0].nodeName === "P") ? v : "

" + v + "

"; + v = v.startWith("" + v + "

"; this.instance.setContent(v); },