Browse Source

update

master
fay 6 years ago
parent
commit
f0d133d298
  1. 2
      src/case/richeditor/niceditor/niceditor.js

2
src/case/richeditor/niceditor/niceditor.js

@ -97,7 +97,7 @@
setValue: function (v) {
v = v || ( isIE11Below() ? "" : "<br>");
v = ($(v)[0] && $(v)[0].nodeName === "P") ? v : "<p>" + v + "</p>";
v = v.startWith("<p") ? v : "<p>" + v + "</p>";
this.instance.setContent(v);
},

Loading…
Cancel
Save