toolbars什么意思_百度编辑器toolbarstoolbars工具条功能按钮参考

修改ueditor.config.js里面的toolbars,以下是默认的toolbars代码toolbars:[

['fullscreen', 'source', '|', 'undo', 'redo', '|',

'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',

'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',

'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',

'directionalityltr', 'directionalityrtl', 'indent', '|',

'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',

'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',

'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe','insertcode', 'webapp', 'pagebreak', 'template', 'background', '|',

'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',

'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',

'print', 'preview', 'searchreplace', 'help', 'drafts']

]

下面是网上收藏的toolbars中文参考表,方便修改。1 , toolbars: [[

2         ‘link‘, //超链接

3         ‘unlink‘, //取消链接

4         ‘|‘,

5         ‘forecolor‘, //字体颜色

6         ‘backcolor‘, //背景色

7         ‘fontfamily‘, //字体

8         ‘fontsize‘, //字号

9         ‘|‘,

10         ‘bold‘, //加粗

11         ‘italic‘, //斜体

12         ‘underline‘, //下划线

13         ‘strikethrough‘, //删除线

14         ‘|‘,

15         ‘formatmatch‘, //格式刷

16         ‘removeformat‘, //清除格式

17         ‘|‘,

18         ‘insertorderedlist‘, //有序列表

19         ‘insertunorderedlist‘, //无序列表

20         ‘|‘,

21         ‘inserttable‘, //插入表格

22         ‘paragraph‘, //段落格式

23         ‘simpleupload‘, //单图上传

24         ‘imagecenter‘, //居中

25         ‘attachment‘, //附件

26

27         ‘|‘,

28         ‘justifyleft‘, //居左对齐

29         ‘justifycenter‘, //居中对齐

30         ‘horizontal‘, //分隔线

31         ‘|‘,

32         ‘blockquote‘, //引用

33         ‘insertcode‘, //代码语言

34

35         ‘|‘,

36         ‘source‘, //源代码

37         ‘preview‘, //预览

38         ‘fullscreen‘, //全屏

39         ]]

不需要的工具按钮删掉就可以了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值