0

Can any one please let me know how we can remove items from a TinyMCE ContextMenu. I.e., normal Cut, Copy, Paste items?

I've seen several references to add items to the context menu shown inside the editor, but not for removing the same.

Please help :)-

Rajesh Omanakuttan
  • 6,788
  • 7
  • 47
  • 85

1 Answers1

0

When you initiate TinyMCE, you can explicitly state which buttons to include:

tinyMCE.init({
        ...
        theme_advanced_buttons1 : "bold,italic,underline",
        theme_advanced_buttons2 : "",
        theme_advanced_buttons3 : ""
});

(example taken from the docs)

Edit

Sorry, the question is about the Context Menu (a.k.a the right-click menu).

Have you tried this plugin which lets you do this?:

tinymce.init({
    plugins: "contextmenu",
    contextmenu: "link image inserttable | cell row column deletetable"
});
benjaminjosephw
  • 4,369
  • 3
  • 21
  • 40