Browse Source

Merge pull request #540 in VISUAL/fineui from ~FAY/fineui:master to master

* commit '95264953526123602059834be4072163e56de494':
  update
  update
  update
es6
imp 6 years ago
parent
commit
069a3430cd
  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