3
votes

I try to use copy/paste functions in the TinyMCE editor, but I've noticed that paste function doesn't work. I removed all plugins and retested this with "clean" TinyMCE, but paste still haven't work.You can see it in this simple example: http://fiddle.tinymce.com/Wpfaab

  1. Type the text

  2. Click Edit-> Copy

  3. Click Edit-> Paste

  4. Nothing happens

How can I fix it?

2
I got the same problem - do you have any solution? In chrome nothing happens - Phil
I found solution only for IE: Open IE --> Go to "Tools...", "Internet Options" --> Click "Security" Tab ->> Click "Custom level..." ->> Find "Allow Programmatic clipboard access" ->> OK - Dmitry P.

2 Answers

0
votes

Paste works, all you need to do is to add the paste plugin to your tinymce config:

tinymce.init({
  selector: "textarea",  // change this value according to your HTML
  plugins: "paste",
  menubar: "edit",
  toolbar: "paste"
});
0
votes

One simple way to solve this is by removing the 'contextmenu' plugin.