UEditor常用菜单配置
使用UEditor时,菜单选项太多,如何精简之呢?
打开UEditor.config.js,注释之前的toolbars代码使用下面的参数即可。
'fullscreen',
'source',
'|',
'bold',
'italic',
'underline',
'blockquote',
'|',
'forecolor',
// 'backcolor',
// 'insertorderedlist',
// 'insertunorderedlist',
'|',
'paragraph',
'fontfamily',
'fontsize',
'|',
'lineheight',
'justifyleft',
'justifycenter',
'justifyright',
'|',
'link',
'unlink',
'|',
'insertcode',
'emotion',
'|',
// 'simpleupload',
'insertimage',
'attachment'