* commit 'ef809418728ea2bb0bc363430ef800c886773c92': update BI-25599
@ -34,11 +34,6 @@ BI.RichEditorTextToolbar = BI.inherit(BI.Widget, {
editor: o.editor
});
}));
this.element.mousedown(function (e) {
BI.each(buttons, function (i, btn) {
btn.hideIf(e);
BI.createWidget({
type: "bi.left",
element: this,
@ -91,6 +91,10 @@
return this.instance.getContent();
},
getContentHeight: function () {
return this.instance.getContentHeight();
getInstance: function () {
return this.instance;
@ -300,6 +304,10 @@
return this.content;
return this.elm.element.height();
setContent: function (e) {
this.content = e;
this.ne.fireEvent("set");
@ -99,6 +99,10 @@ BI.RichEditor = BI.inherit(BI.Widget, {
getValue: function () {
return this.editor.getValue();
return this.editor.getContentHeight();
}
BI.RichEditor.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";