|
|
|
@ -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, |
|
|
|
@ -84437,7 +84439,7 @@ BI.shortcut("bi.rich_editor_color_chooser", BI.RichEditorColorChooser);BI.RichEd
|
|
|
|
|
|
|
|
|
|
this.combo = BI.createWidget({ |
|
|
|
|
type: "bi.combo", |
|
|
|
|
container: o.container, |
|
|
|
|
container: null, |
|
|
|
|
element: this, |
|
|
|
|
el: this.trigger, |
|
|
|
|
adjustLength: 1, |
|
|
|
@ -84592,7 +84594,7 @@ BI.RichEditorSizeChooser = BI.inherit(BI.RichEditorAction, {
|
|
|
|
|
|
|
|
|
|
this.combo = BI.createWidget({ |
|
|
|
|
type: "bi.combo", |
|
|
|
|
container: o.container, |
|
|
|
|
container: null, |
|
|
|
|
element: this, |
|
|
|
|
el: this.trigger, |
|
|
|
|
adjustLength: 1, |
|
|
|
@ -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 () { |
|
|
|
|