Log in or register to post comments
Last post
How to remove CKEditor Button Properties context menu item
I have a plugin where I'm adding a button to the editor via insertHtml:

editor.insertHtml('<input type = "button" value = "my button" />');


When you right-click on the button, you are presented with a "Button Properties" option in the context menu. I cannot figure out how to remove that item via removeMenuItem(). I am able to remove the Paste option from the menu via removeMenuItem('paste'), but removeMenuItem('Button Properties') does not work. Anyone have any experience with this?

This is version 3.6.5
Re: How to remove CKEditor Button Properties context menu it
Re: How to remove CKEditor Button Properties context menu it
Thanks for the reply Sebastian. Unfortunately I did try
editor.removeMenuItem('Button Properties');
, but it didn't work (no error, just didn't do anything).

However,
editor.removeMenuItem('paste');
does work... but it's not the one I'm trying to remove :)
Re: How to remove CKEditor Button Properties context menu it
Can anyone help? It seems like it should be an easy solution, and I'm just missing something.
Re: How to remove CKEditor Button Properties context menu it
bump
Re: How to remove CKEditor Button Properties context menu it
Another bump. Anyone?