Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to modify context menu in CKEditor?

Tags:

ckeditor

Does anyone know how to modify the CKEditor right-click contex menu?

I am trying to figure out how to remove "Cut, Copy, Paste, Edit DIV" from the right-click menu, and trying to add "Insert Image, Insert Table" to it.

like image 785
kidcapital Avatar asked Jun 18 '11 21:06

kidcapital


People also ask

Where is CKEditor config file?

CKEditor 4 comes with a rich set of configuration options that make it possible to customize its appearance, features, and behavior. The main configuration file is named config. js . This file can be found in the root of the CKEditor 4 installation folder.

How do I change the default language in CKEditor?

Setting the Default Language The website developer can set the default language that will be used for the CKEditor UI if the user's language is not available. English is the default setting here, but you can adjust this to your needs by modifying the CKEDITOR. config. defaultLanguage configuration option.


1 Answers

Version 3.6.1 has support in their API for removing context menu items.

#7885 : New editor::removeMenuItem API for removing plugin context menu items introduced.

like image 58
steve_c Avatar answered Oct 23 '22 04:10

steve_c