Browse Source

Pull request #2983: REPORT-77722 fix: 修复text_editor直接作为root的时候,isValid报错问题

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '62bcdb51db2bbee45eaf3344edc045ac0e6e30b2':
  REPORT-77722 fix: 修复text_editor直接作为root的时候,isValid报错问题
es6
Dailer 2 years ago
parent
commit
9afa6c6980
  1. 3
      src/widget/editor/editor.text.js

3
src/widget/editor/editor.text.js

@ -23,8 +23,7 @@ BI.TextEditor = BI.inherit(BI.Widget, {
}); });
}, },
_init: function () { render: function () {
BI.TextEditor.superclass._init.apply(this, arguments);
var self = this, o = this.options; var self = this, o = this.options;
var border = o.simple ? 1 : 2; var border = o.simple ? 1 : 2;
if (BI.isNumber(o.height)) { if (BI.isNumber(o.height)) {

Loading…
Cancel
Save