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

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