如何知道CKEditor中的所有插件名称?

Vis*_*a S 15 jquery ckeditor

在哪里可以查看CKEditor中可用的所有插件的名称.我已经下载了完整的CKEditor包,我想删除一些默认插件,如缩进,RTL文本方向,LTR文本方向等.这些插件的所有名称都可用,以便我可以使用此语法禁用它们,

config.removePlugins = 'forms,elementspath';
Run Code Online (Sandbox Code Playgroud)

Rei*_*mar 27

最简单的方法是检查这个变量:

CKEDITOR.config.plugins;
Run Code Online (Sandbox Code Playgroud)

例如,完整版本包含以下插件:

"dialogui,dialog,a11yhelp,about,basicstyles,bidi,blockquote,clipboard," +
"button,panelbutton,panel,floatpanel,colorbutton,colordialog,menu," +
"contextmenu,dialogadvtab,div,elementspath,enterkey,entities,popup," +
"filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo," +
"font,format,forms,horizontalrule,htmlwriter,iframe,image,indent," +
"indentblock,indentlist,justify,link,list,liststyle,magicline," +
"maximize,newpage,pagebreak,pastefromword,pastetext,preview,print," +
"removeformat,resize,save,menubutton,scayt,selectall,showblocks," +
"showborders,smiley,sourcearea,specialchar,stylescombo,tab,table," +
"tabletools,templates,toolbar,undo,wsc,wysiwygarea"
Run Code Online (Sandbox Code Playgroud)

您还可以检查哪些按钮可用:CKEditor 4中有哪些工具栏按钮?