如何从CKeditor 4删除按钮 [英] How to remove buttons from CKeditor 4
本文介绍了如何从CKeditor 4删除按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问题出在标题中:如何从CKeditor 4中删除按钮。
The question is in the title : How to remove buttons from CKeditor 4 .
文档无法明确回答
推荐答案
基于reinmar答案并在此处进行测试是更好的答案。将此添加到您的ckeditor config.js中:
Based on reinmar answer and tested here is the better answer. Add this in your ckeditor config.js :
config.removeButtons = 'Underline,JustifyCenter';
作为参考,您可以在此处找到CKeditor 4个按钮的完整列表:
http://ckeditor.com/comment/123266#comment-123266
For reference you can find the complete list of CKeditor 4 buttons there : http://ckeditor.com/comment/123266#comment-123266
这篇关于如何从CKeditor 4删除按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文