|
|
|
@ -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) { |
|
|
|
|