Hi,
I've upgraded from FCK to CK4 and that work's great.
Except in FCK i've had a config option to exclude items from the contextmenu to select the only ones that are allowed to show in the contextmenu:
FCKConfig.ContextMenu = ['Generic','Link','Anchor','BulletedList','NumberedList','Table'] ;
I can't find an option for CK4 to do this.
I need this because I allow my users to select smileys, but I don't want them to right click and edit this image and fill in another URL so they can use other images!
How can I achieve this with CK4?
Ok, i've kept searching and
Ok, i've kept searching and found a solution:
CKEDITOR.on('instanceReady', function(ck) { ck.editor.removeMenuItem('image'); });
Inspired by: http://stackoverflow.com/questions/9703252/how-do-i-use-ckeditors-removemenuitem-function
Maybe helpfull to other people.