diff --git a/src/widget/editor/editor.text.js b/src/widget/editor/editor.text.js index fdc4545c8..e50e153ae 100644 --- a/src/widget/editor/editor.text.js +++ b/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) {