Open hangpuyan opened 6 years ago
ZSSRichTextEditor.js 文件中添加接口 zss_editor.setFontSize = function(aFontSize) {
document.execCommand("styleWithCSS", null, true); document.execCommand('fontSize', false, aFontSize); document.execCommand("styleWithCSS", null, false); zss_editor.enabledEditingItems();
}
ZSSRichTextEditor.js 文件中添加接口 zss_editor.setFontSize = function(aFontSize) {
document.execCommand("styleWithCSS", null, true); document.execCommand('fontSize', false, aFontSize); document.execCommand("styleWithCSS", null, false); zss_editor.enabledEditingItems();
}