阅读(3363) (1)

如何添加其他工具

2023-02-10 18:06:24 更新

在您需要添加的工具栏模式中添加相关工具代码后清理浏览器缓存即可

比如我想让新闻插件在pc端中使用插入Iframe功能,并且想将按钮放在从网盘插入后面,就可以是:

simple: [

        ['fullscreen','undo', 'redo', '|','paragraph', 'fontfamily', 'fontsize','|', 'bold', 'italic',

                'underline', 'strikethrough', '|', 'forecolor', 'backcolor',  '|', 

'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain','|', 'inserttable', 'insertcharts','charts','|',

'insertorderedlist', 'insertunorderedlist', 'indent',

                'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|',

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

                 'link', 'unlink','simpleupload', 'insertvideo','attachment','dzzfile','insertframe','emotion','|','drafts','kityformula', 'kityminder'

        ]

    ],