4
votes

(I disabled the contextmenu plugin.) In tinymce i would like to paste a text with the right click menu mouse like in this text editor here. I noticed that i can do that when the selector is blinking on the first line. Where can i set up that ?

Regards

Frank

2

2 Answers

7
votes

For anyone else seeing this a few years later, here's what I did to enable right-click paste for my TinyMCE editor:

tinymce.init({
    selector: ".TinyMceTextEditor",
    plugins: "contextmenu",
    contextmenu: "paste | link image inserttable | cell row column deletetable"
});

If you enable the contextmenu plugin, then you can specify the contextmenu itself and include "paste". This way you can bypass the default right-click context menu and still get the paste option (plus a lot of other functionality). The other options I have in the contextmenu are the defaults.

0
votes

Have a look at the tinymce contextmenu plugin. We use a modified version of it as an own plugin to show different option to the user.