How to add a new item in Ckeditor context menu?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mohomar99
User
Posts: 17

How to add a new item in Ckeditor context menu?

Post by mohomar99 »

Hi
Anyone here managed to add a new item in Ckeditor context menu?
I tried a lot but did not manage , the context menu shows without the new added item although I debugged the code well and no js errors in the console.
Could u please provide a working sample if anyone has?

Thank You in advance.


arbei
User
Posts: 9356

Post by arbei »

You may use the "create.editor" event to change the config for CKEditor, see example 4 under Client Script. You may see the config by console.log(args.settings) first.


Post Reply