From 62aec29cca43bb9cc3b7b1065e5832572fb0244d Mon Sep 17 00:00:00 2001 From: zsmj Date: Wed, 22 Jun 2022 15:02:09 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-11626=20refactor=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=AE=BD=E9=AB=98=E8=87=AA=E9=80=82=E5=BA=94=E7=9A=84=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E5=B8=83=E5=B1=80=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/editor/editor.text.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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) {