Browse Source

KERNEL-11626 refactor组件宽高自适应的一些布局调整

es6
zsmj 2 years ago
parent
commit
62aec29cca
  1. 11
      src/widget/editor/editor.text.js

11
src/widget/editor/editor.text.js

@ -35,6 +35,7 @@ BI.TextEditor = BI.inherit(BI.Widget, {
}
this.editor = BI.createWidget({
type: "bi.editor",
element: this,
simple: o.simple,
hgap: o.hgap,
vgap: o.vgap,
@ -115,16 +116,6 @@ BI.TextEditor = BI.inherit(BI.Widget, {
this.editor.on(BI.Editor.EVENT_EMPTY, function () {
self.fireEvent(BI.TextEditor.EVENT_EMPTY);
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [
{
el: this.editor,
inset: 0
}
]
});
},
setWaterMark: function (v) {

Loading…
Cancel
Save