|
|
@ -52514,6 +52514,8 @@ BI.shortcut("bi.image_button", BI.ImageButton);(function ($) { |
|
|
|
var o = this.options, self = this; |
|
|
|
var o = this.options, self = this; |
|
|
|
if (BI.isNumber(o.height) && !o.clear && !o.block) { |
|
|
|
if (BI.isNumber(o.height) && !o.clear && !o.block) { |
|
|
|
this.element.css({height: o.height + "px", lineHeight: (o.height - 2) + "px"}); |
|
|
|
this.element.css({height: o.height + "px", lineHeight: (o.height - 2) + "px"}); |
|
|
|
|
|
|
|
} else if (o.clear || o.block) { |
|
|
|
|
|
|
|
this.element.css({lineHeight: o.height + "px"}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.element.css({lineHeight: (o.height - 2) + "px"}); |
|
|
|
this.element.css({lineHeight: (o.height - 2) + "px"}); |
|
|
|
} |
|
|
|
} |
|
|
@ -83174,11 +83176,6 @@ BI.RichEditorTextToolbar = BI.inherit(BI.Widget, { |
|
|
|
editor: o.editor |
|
|
|
editor: o.editor |
|
|
|
}); |
|
|
|
}); |
|
|
|
})); |
|
|
|
})); |
|
|
|
this.element.mousedown(function (e) { |
|
|
|
|
|
|
|
BI.each(buttons, function (i, btn) { |
|
|
|
|
|
|
|
btn.hideIf(e); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.left", |
|
|
|
type: "bi.left", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
@ -83300,6 +83297,10 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/** |
|
|
|
return this.instance.getContent(); |
|
|
|
return this.instance.getContent(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getContentHeight: function () { |
|
|
|
|
|
|
|
return this.instance.getContentHeight(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getInstance: function () { |
|
|
|
getInstance: function () { |
|
|
|
return this.instance; |
|
|
|
return this.instance; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -83509,6 +83510,10 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/** |
|
|
|
return this.content; |
|
|
|
return this.content; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getContentHeight: function () { |
|
|
|
|
|
|
|
return this.elm.element.height(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setContent: function (e) { |
|
|
|
setContent: function (e) { |
|
|
|
this.content = e; |
|
|
|
this.content = e; |
|
|
|
this.ne.fireEvent("set"); |
|
|
|
this.ne.fireEvent("set"); |
|
|
@ -84274,6 +84279,10 @@ BI.RichEditor = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
|
return this.editor.getValue(); |
|
|
|
return this.editor.getValue(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getContentHeight: function () { |
|
|
|
|
|
|
|
return this.editor.getContentHeight(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.RichEditor.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; |
|
|
|
BI.RichEditor.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; |
|
|
|