guy 6 years ago
parent
commit
64c9a65eb7
  1. 36
      dist/_fineui.min.js
  2. 14
      dist/bundle.js
  3. 22
      dist/bundle.min.js
  4. 14
      dist/case.js
  5. 14
      dist/fineui.js
  6. 36
      dist/fineui.min.js
  7. 14
      src/case/richeditor/bar/action.richeditor.js

36
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/bundle.js vendored

@ -82820,7 +82820,8 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
return BI.extend(BI.RichEditorAction.superclass._defaultConfig.apply(this, arguments), {
width: 20,
height: 20,
command: ""
command: "",
used: true
});
},
@ -82828,14 +82829,19 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
BI.RichEditorAction.superclass._init.apply(this, arguments);
var self = this, o = this.options;
o.editor.on(BI.NicEditor.EVENT_SELECTED, function (e) {
self.setEnable(true);
self.checkNodes(e.target);
self.key(e);
if (o.used === true) {
self.setEnable(true);
self.checkNodes(e.target);
self.key(e);
}
});
o.editor.on(BI.NicEditor.EVENT_BLUR, function () {
self.setEnable(false);
});
o.editor.on(BI.NicEditor.EVENT_KEYDOWN, BI.bind(this.keydown, this));
if (o.used === false) {
this.setEnable(false);
}
},
checkNodes: function (e) {

22
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

14
dist/case.js vendored

@ -10342,7 +10342,8 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
return BI.extend(BI.RichEditorAction.superclass._defaultConfig.apply(this, arguments), {
width: 20,
height: 20,
command: ""
command: "",
used: true
});
},
@ -10350,14 +10351,19 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
BI.RichEditorAction.superclass._init.apply(this, arguments);
var self = this, o = this.options;
o.editor.on(BI.NicEditor.EVENT_SELECTED, function (e) {
self.setEnable(true);
self.checkNodes(e.target);
self.key(e);
if (o.used === true) {
self.setEnable(true);
self.checkNodes(e.target);
self.key(e);
}
});
o.editor.on(BI.NicEditor.EVENT_BLUR, function () {
self.setEnable(false);
});
o.editor.on(BI.NicEditor.EVENT_KEYDOWN, BI.bind(this.keydown, this));
if (o.used === false) {
this.setEnable(false);
}
},
checkNodes: function (e) {

14
dist/fineui.js vendored

@ -83063,7 +83063,8 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
return BI.extend(BI.RichEditorAction.superclass._defaultConfig.apply(this, arguments), {
width: 20,
height: 20,
command: ""
command: "",
used: true
});
},
@ -83071,14 +83072,19 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
BI.RichEditorAction.superclass._init.apply(this, arguments);
var self = this, o = this.options;
o.editor.on(BI.NicEditor.EVENT_SELECTED, function (e) {
self.setEnable(true);
self.checkNodes(e.target);
self.key(e);
if (o.used === true) {
self.setEnable(true);
self.checkNodes(e.target);
self.key(e);
}
});
o.editor.on(BI.NicEditor.EVENT_BLUR, function () {
self.setEnable(false);
});
o.editor.on(BI.NicEditor.EVENT_KEYDOWN, BI.bind(this.keydown, this));
if (o.used === false) {
this.setEnable(false);
}
},
checkNodes: function (e) {

36
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

14
src/case/richeditor/bar/action.richeditor.js

@ -9,7 +9,8 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
return BI.extend(BI.RichEditorAction.superclass._defaultConfig.apply(this, arguments), {
width: 20,
height: 20,
command: ""
command: "",
used: true
});
},
@ -17,14 +18,19 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
BI.RichEditorAction.superclass._init.apply(this, arguments);
var self = this, o = this.options;
o.editor.on(BI.NicEditor.EVENT_SELECTED, function (e) {
self.setEnable(true);
self.checkNodes(e.target);
self.key(e);
if (o.used === true) {
self.setEnable(true);
self.checkNodes(e.target);
self.key(e);
}
});
o.editor.on(BI.NicEditor.EVENT_BLUR, function () {
self.setEnable(false);
});
o.editor.on(BI.NicEditor.EVENT_KEYDOWN, BI.bind(this.keydown, this));
if (o.used === false) {
this.setEnable(false);
}
},
checkNodes: function (e) {

Loading…
Cancel
Save