Commit b9a26d1d63fb7bfd2f69065db2117f2c8f8aa896
1 parent
7e17e911
Delete some config of toolbar in ueditor.config.
Showing
1 changed file
with
7 additions
and
7 deletions
js/plugin/ueditor/ueditor.config.js
... | ... | @@ -35,13 +35,13 @@ |
35 | 35 | //工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的从新定义 |
36 | 36 | , toolbars: [[ |
37 | 37 | 'source', '|', 'undo', 'redo', '|', |
38 | - 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|', | |
39 | - 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|', | |
38 | + 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|', | |
39 | + // 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|', | |
40 | 40 | 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|', |
41 | - 'directionalityltr', 'directionalityrtl', 'indent', '|', | |
41 | + 'indent', '|', | |
42 | 42 | 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|', |
43 | - 'link', 'unlink', 'anchor', '|', | |
44 | - 'simpleupload', 'insertimage', 'emotion', '|', | |
43 | + 'link', 'unlink', '|', | |
44 | + 'simpleupload', 'insertimage', '|', | |
45 | 45 | 'horizontal', 'date', 'time', '|', |
46 | 46 | 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols' |
47 | 47 | // , '|' , 'print', 'preview', 'searchreplace', 'help' |
... | ... | @@ -270,10 +270,10 @@ |
270 | 270 | |
271 | 271 | //elementPathEnabled |
272 | 272 | //是否启用元素路径,默认是显示 |
273 | - //,elementPathEnabled : true | |
273 | + ,elementPathEnabled : false | |
274 | 274 | |
275 | 275 | //wordCount |
276 | - //,wordCount:true //是否开启字数统计 | |
276 | + ,wordCount: false //是否开启字数统计 | |
277 | 277 | //,maximumWords:10000 //允许的最大字符数 |
278 | 278 | //字数统计提示,{#count}代表当前字数,{#leave}代表还可以输入多少字符数,留空支持多语言自动切换,否则按此配置显示 |
279 | 279 | //,wordCountMsg:'' //当前已输入 {#count} 个字符,您还可以输入{#leave} 个字符 | ... | ... |