fay 6 years ago
parent
commit
daabe3b60a
  1. 10
      dist/bundle.js
  2. 10
      dist/case.js
  3. 10
      dist/fineui.js
  4. 1
      src/case/richeditor/plugins/combo.backgroundcolorchooser.js
  5. 1
      src/case/richeditor/plugins/combo.colorchooser.js
  6. 8
      src/case/richeditor/richeditor.js

10
dist/bundle.js vendored

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

10
dist/case.js vendored

@ -11648,6 +11648,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
var self = this, o = this.options; var self = this, o = this.options;
this.colorchooser = BI.createWidget({ this.colorchooser = BI.createWidget({
type: "bi.color_chooser", type: "bi.color_chooser",
container: null,
element: this, element: this,
width: o.width, width: o.width,
height: o.height, height: o.height,
@ -11694,6 +11695,7 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
var self = this, o = this.options; var self = this, o = this.options;
this.colorchooser = BI.createWidget({ this.colorchooser = BI.createWidget({
type: "bi.color_chooser", type: "bi.color_chooser",
container: null,
element: this, element: this,
width: o.width, width: o.width,
height: o.height, height: o.height,
@ -12033,7 +12035,10 @@ BI.RichEditor = BI.inherit(BI.Widget, {
popup: { popup: {
el: BI.extend({ el: BI.extend({
type: "bi.rich_editor_text_toolbar", type: "bi.rich_editor_text_toolbar",
editor: this.editor editor: this.editor,
ref: function (_ref) {
self.toolbar = _ref;
}
}, o.toolbar), }, o.toolbar),
height: 34, height: 34,
stopPropagation: true, stopPropagation: true,
@ -12053,6 +12058,9 @@ BI.RichEditor = BI.inherit(BI.Widget, {
if(BI.isNull(o.value)) { if(BI.isNull(o.value)) {
this.editor.setValue(o.value); this.editor.setValue(o.value);
} }
if(o.toolbar) {
this.editor.bindToolbar(this.toolbar);
}
}, },
focus: function () { focus: function () {

10
dist/fineui.js vendored

@ -84580,6 +84580,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
var self = this, o = this.options; var self = this, o = this.options;
this.colorchooser = BI.createWidget({ this.colorchooser = BI.createWidget({
type: "bi.color_chooser", type: "bi.color_chooser",
container: null,
element: this, element: this,
width: o.width, width: o.width,
height: o.height, height: o.height,
@ -84626,6 +84627,7 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
var self = this, o = this.options; var self = this, o = this.options;
this.colorchooser = BI.createWidget({ this.colorchooser = BI.createWidget({
type: "bi.color_chooser", type: "bi.color_chooser",
container: null,
element: this, element: this,
width: o.width, width: o.width,
height: o.height, height: o.height,
@ -84965,7 +84967,10 @@ BI.RichEditor = BI.inherit(BI.Widget, {
popup: { popup: {
el: BI.extend({ el: BI.extend({
type: "bi.rich_editor_text_toolbar", type: "bi.rich_editor_text_toolbar",
editor: this.editor editor: this.editor,
ref: function (_ref) {
self.toolbar = _ref;
}
}, o.toolbar), }, o.toolbar),
height: 34, height: 34,
stopPropagation: true, stopPropagation: true,
@ -84985,6 +84990,9 @@ BI.RichEditor = BI.inherit(BI.Widget, {
if(BI.isNull(o.value)) { if(BI.isNull(o.value)) {
this.editor.setValue(o.value); this.editor.setValue(o.value);
} }
if(o.toolbar) {
this.editor.bindToolbar(this.toolbar);
}
}, },
focus: function () { focus: function () {

1
src/case/richeditor/plugins/combo.backgroundcolorchooser.js

@ -18,6 +18,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
var self = this, o = this.options; var self = this, o = this.options;
this.colorchooser = BI.createWidget({ this.colorchooser = BI.createWidget({
type: "bi.color_chooser", type: "bi.color_chooser",
container: null,
element: this, element: this,
width: o.width, width: o.width,
height: o.height, height: o.height,

1
src/case/richeditor/plugins/combo.colorchooser.js

@ -20,6 +20,7 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
var self = this, o = this.options; var self = this, o = this.options;
this.colorchooser = BI.createWidget({ this.colorchooser = BI.createWidget({
type: "bi.color_chooser", type: "bi.color_chooser",
container: null,
element: this, element: this,
width: o.width, width: o.width,
height: o.height, height: o.height,

8
src/case/richeditor/richeditor.js

@ -68,7 +68,10 @@ BI.RichEditor = BI.inherit(BI.Widget, {
popup: { popup: {
el: BI.extend({ el: BI.extend({
type: "bi.rich_editor_text_toolbar", type: "bi.rich_editor_text_toolbar",
editor: this.editor editor: this.editor,
ref: function (_ref) {
self.toolbar = _ref;
}
}, o.toolbar), }, o.toolbar),
height: 34, height: 34,
stopPropagation: true, stopPropagation: true,
@ -88,6 +91,9 @@ BI.RichEditor = BI.inherit(BI.Widget, {
if(BI.isNull(o.value)) { if(BI.isNull(o.value)) {
this.editor.setValue(o.value); this.editor.setValue(o.value);
} }
if(o.toolbar) {
this.editor.bindToolbar(this.toolbar);
}
}, },
focus: function () { focus: function () {

Loading…
Cancel
Save