UEditor常用菜单配置
使用UEditor时,菜单选项太多,如何精简之呢?
打开UEditor.config.js,注释之前的toolbars代码使用下面的参数即可。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 'fullscreen', 'source', '|', 'bold', 'italic', 'underline', 'blockquote', '|', 'forecolor', // 'backcolor', // 'insertorderedlist', // 'insertunorderedlist', '|', 'paragraph', 'fontfamily', 'fontsize', '|', 'lineheight', 'justifyleft', 'justifycenter', 'justifyright', '|', 'link', 'unlink', '|', 'insertcode', 'emotion', '|', // 'simpleupload', 'insertimage', 'attachment' |