Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know all the plugin names in CKEditor?

Where can I view the names of all the plugins that are available in the CKEditor. I have downloaded the complete package of CKEditor and I want to remove some default plugins such as Indent, Text Direction from RTL, Text Direction from LTR and more. Where will be all the names for these plugins available so that I can disable them using this syntax,

config.removePlugins = 'forms,elementspath';
like image 968
Sarvap Praharanayuthan Avatar asked Oct 25 '13 17:10

Sarvap Praharanayuthan


People also ask

How do I enable source in CKEditor?

Classic Editor with Default Source Editing AreaClick the Source button to display the HTML source of this text in the source editing area. Click the Source button again to return to the WYSIWYG view.

Where is CKEditor config JS?

The main configuration file is named config. js . This file can be found in the root of the CKEditor 4 installation folder.


2 Answers

The easiest way is by checking this variable:

CKEDITOR.config.plugins;

For example full build contains these plugins:

"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"

You can also check which buttons are available: What toolbar buttons are available in CKEditor 4?

like image 127
Reinmar Avatar answered Oct 01 '22 21:10

Reinmar


See the Toolbar Configurator to customize http://ckeditor.com/latest/samples/toolbarconfigurator/index.html#basic

Regards, Nicholls

like image 27
jdnichollsc Avatar answered Oct 01 '22 19:10

jdnichollsc