|
|
|
@ -84331,6 +84331,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
|
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this.colorchooser = BI.createWidget({ |
|
|
|
|
type: "bi.color_chooser", |
|
|
|
|
container: null, |
|
|
|
|
element: this, |
|
|
|
|
width: o.width, |
|
|
|
|
height: o.height, |
|
|
|
@ -84377,6 +84378,7 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
|
|
|
|
|
var self = this, o = this.options; |
|
|
|
|
this.colorchooser = BI.createWidget({ |
|
|
|
|
type: "bi.color_chooser", |
|
|
|
|
container: null, |
|
|
|
|
element: this, |
|
|
|
|
width: o.width, |
|
|
|
|
height: o.height, |
|
|
|
@ -84716,7 +84718,10 @@ BI.RichEditor = BI.inherit(BI.Widget, {
|
|
|
|
|
popup: { |
|
|
|
|
el: BI.extend({ |
|
|
|
|
type: "bi.rich_editor_text_toolbar", |
|
|
|
|
editor: this.editor |
|
|
|
|
editor: this.editor, |
|
|
|
|
ref: function (_ref) { |
|
|
|
|
self.toolbar = _ref; |
|
|
|
|
} |
|
|
|
|
}, o.toolbar), |
|
|
|
|
height: 34, |
|
|
|
|
stopPropagation: true, |
|
|
|
@ -84736,6 +84741,9 @@ BI.RichEditor = BI.inherit(BI.Widget, {
|
|
|
|
|
if(BI.isNull(o.value)) { |
|
|
|
|
this.editor.setValue(o.value); |
|
|
|
|
} |
|
|
|
|
if(o.toolbar) { |
|
|
|
|
this.editor.bindToolbar(this.toolbar); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
focus: function () { |
|
|
|
|