windy 7 years ago
parent
commit
943fbac5aa
  1. 2
      demo/js/base/editor/demo.editor.js
  2. 34
      dist/_fineui.min.js
  3. 7
      dist/bundle.js
  4. 22
      dist/bundle.min.js
  5. 7
      dist/case.js
  6. 2
      dist/demo.js
  7. 7
      dist/fineui.js
  8. 34
      dist/fineui.min.js
  9. 7
      src/case/richeditor/richeditor.js

2
demo/js/base/editor/demo.editor.js

@ -21,7 +21,7 @@ Demo.Editor = BI.inherit(BI.Widget, {
disabled: true, disabled: true,
errorText: "字段不可重名", errorText: "字段不可重名",
validationChecker: function (v) { validationChecker: function (v) {
if (v == "a") {d if (v == "a") {
return false; return false;
} }
return true; return true;

34
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/bundle.js vendored

@ -84117,7 +84117,7 @@ BI.shortcut("bi.rich_editor_size_chooser", BI.RichEditorSizeChooser);/**
BI.RichEditor = BI.inherit(BI.Widget, { BI.RichEditor = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-rich-editor", baseCls: "bi-rich-editor bi-textarea",
toolbar: {}, toolbar: {},
readOnly: false readOnly: false
}, },
@ -84188,6 +84188,11 @@ BI.RichEditor = BI.inherit(BI.Widget, {
} }
}, },
_setEnable: function (enable) {
BI.RichEditor.superclass._setEnable.apply(this, arguments);
this.mask.setVisible(!enable);
},
focus: function () { focus: function () {
this.editor.focus(); this.editor.focus();
}, },

22
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/case.js vendored

@ -11638,7 +11638,7 @@ BI.shortcut("bi.rich_editor_size_chooser", BI.RichEditorSizeChooser);/**
BI.RichEditor = BI.inherit(BI.Widget, { BI.RichEditor = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-rich-editor", baseCls: "bi-rich-editor bi-textarea",
toolbar: {}, toolbar: {},
readOnly: false readOnly: false
}, },
@ -11709,6 +11709,11 @@ BI.RichEditor = BI.inherit(BI.Widget, {
} }
}, },
_setEnable: function (enable) {
BI.RichEditor.superclass._setEnable.apply(this, arguments);
this.mask.setVisible(!enable);
},
focus: function () { focus: function () {
this.editor.focus(); this.editor.focus();
}, },

2
dist/demo.js vendored

@ -733,7 +733,7 @@ BI.shortcut("demo.code_editor", Demo.CodeEditor);Demo.Editor = BI.inherit(BI.Wid
disabled: true, disabled: true,
errorText: "字段不可重名", errorText: "字段不可重名",
validationChecker: function (v) { validationChecker: function (v) {
if (v == "a") {d if (v == "a") {
return false; return false;
} }
return true; return true;

7
dist/fineui.js vendored

@ -84360,7 +84360,7 @@ BI.shortcut("bi.rich_editor_size_chooser", BI.RichEditorSizeChooser);/**
BI.RichEditor = BI.inherit(BI.Widget, { BI.RichEditor = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-rich-editor", baseCls: "bi-rich-editor bi-textarea",
toolbar: {}, toolbar: {},
readOnly: false readOnly: false
}, },
@ -84431,6 +84431,11 @@ BI.RichEditor = BI.inherit(BI.Widget, {
} }
}, },
_setEnable: function (enable) {
BI.RichEditor.superclass._setEnable.apply(this, arguments);
this.mask.setVisible(!enable);
},
focus: function () { focus: function () {
this.editor.focus(); this.editor.focus();
}, },

34
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

7
src/case/richeditor/richeditor.js

@ -8,7 +8,7 @@
BI.RichEditor = BI.inherit(BI.Widget, { BI.RichEditor = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-rich-editor", baseCls: "bi-rich-editor bi-textarea",
toolbar: {}, toolbar: {},
readOnly: false readOnly: false
}, },
@ -79,6 +79,11 @@ BI.RichEditor = BI.inherit(BI.Widget, {
} }
}, },
_setEnable: function (enable) {
BI.RichEditor.superclass._setEnable.apply(this, arguments);
this.mask.setVisible(!enable);
},
focus: function () { focus: function () {
this.editor.focus(); this.editor.focus();
}, },

Loading…
Cancel
Save