CKEditor 4中有什么工具栏按钮? [英] What toolbar buttons are available in CKEditor 4?

查看:315
本文介绍了CKEditor 4中有什么工具栏按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CKEditor文档按项目工具栏配置提供了此处,但其中是一个名称列表不同组中的按钮?

The CKEditor docs mention item by item toolbar configuration here, but where is a list of the names of the buttons in the different groups?

还有类似的问题在这里,但答案是为CKEditor的以前的版本。一些按钮名称不工作。

There is a similar question here, but the answer is for a previous version of CKEditor. Some of the button names do not work.

推荐答案

您可以检查

You can check the toolbar sample in your CKEditor package.

在这里,列出了所有按钮和所有工具栏组(因为CKEditor 4有两种设置工具栏布局的方式)在您的CKEditor构建中启用。

There, you've got listed all buttons and all toolbar groups (since CKEditor 4 there are two ways of setting toolbar layout) that are enabled in your CKEditor build.

如果没有看到从CKEditor 3记住的按钮,请检查它是否可用你的CKEditor包版本(现在有3 - 基本,std和full)。某些插件不包含在任何这些版本中,您必须创建自己的

If you don't see a button that you remembered from CKEditor 3, check if it's available in your CKEditor package version (there are now 3 - basic, std and full). Some plugins are not included in any of these builds and you have to create your own.

PS。如果您使用标准或基本构建检查 config.js 文件 - 某些按钮(如下划线)会通过设置 config.removeButtons

PS. If you're using standard or basic build check config.js file - some buttons like Underline are removed in these presets by setting config.removeButtons.

这篇关于CKEditor 4中有什么工具栏按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆