I have a plugin where I'm adding a button to the editor via insertHtml:
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
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
Try this: http://docs.cksource.com/ckeditor_api/s ... veMenuItem
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: How to remove CKEditor Button Properties context menu it
Thanks for the reply Sebastian. Unfortunately I did try
, but it didn't work (no error, just didn't do anything).
However,
does work... but it's not the one I'm trying to remove
Re: How to remove CKEditor Button Properties context menu it
Re: How to remove CKEditor Button Properties context menu it
Re: How to remove CKEditor Button Properties context menu it