Browse Source

字体自动和透明样式设置

master
fay 6 years ago
parent
commit
32229e549b
  1. 12
      dist/_fineui.min.js
  2. 6
      dist/bundle.js
  3. 36
      dist/bundle.min.js
  4. 6
      dist/case.js
  5. 6
      dist/fineui.js
  6. 12
      dist/fineui.min.js
  7. 6
      src/case/richeditor/plugins/combo.colorchooser.js

12
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/bundle.js vendored

@ -84187,7 +84187,11 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
} }
}); });
this.colorchooser.on(BI.ColorChooser.EVENT_CHANGE, function () { this.colorchooser.on(BI.ColorChooser.EVENT_CHANGE, function () {
self.doCommand(this.getValue()); var value = this.getValue();
// 用span代替font
document.execCommand('styleWithCSS', null, true);
self.doCommand(this.getValue() || "inherit");
document.execCommand('styleWithCSS', null, false);
}); });
}, },

36
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/case.js vendored

@ -11578,7 +11578,11 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
} }
}); });
this.colorchooser.on(BI.ColorChooser.EVENT_CHANGE, function () { this.colorchooser.on(BI.ColorChooser.EVENT_CHANGE, function () {
self.doCommand(this.getValue()); var value = this.getValue();
// 用span代替font
document.execCommand('styleWithCSS', null, true);
self.doCommand(this.getValue() || "inherit");
document.execCommand('styleWithCSS', null, false);
}); });
}, },

6
dist/fineui.js vendored

@ -84436,7 +84436,11 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
} }
}); });
this.colorchooser.on(BI.ColorChooser.EVENT_CHANGE, function () { this.colorchooser.on(BI.ColorChooser.EVENT_CHANGE, function () {
self.doCommand(this.getValue()); var value = this.getValue();
// 用span代替font
document.execCommand('styleWithCSS', null, true);
self.doCommand(this.getValue() || "inherit");
document.execCommand('styleWithCSS', null, false);
}); });
}, },

12
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

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

@ -30,7 +30,11 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
} }
}); });
this.colorchooser.on(BI.ColorChooser.EVENT_CHANGE, function () { this.colorchooser.on(BI.ColorChooser.EVENT_CHANGE, function () {
self.doCommand(this.getValue()); var value = this.getValue();
// 用span代替font
document.execCommand('styleWithCSS', null, true);
self.doCommand(this.getValue() || "inherit");
document.execCommand('styleWithCSS', null, false);
}); });
}, },

Loading…
Cancel
Save