Jump to content

How to make WYSIWYG paste in plain text?


Duck
 Share

Recommended Posts

After investigating this, the issue looks to be that we are using TinyMCE of 4.0 version, which doesn't have "paste" plugin. Here is the archive of TinyMCE 4.9 version with all plugins:

https://kernel-scripts.com/updates/tinymce.zip

Download it and unpack in /admin/tinymce directory. Then in /admin/js/TinyMCEConfig.js you need to add paste under plugins line:

plugins: 'code, textcolor, link, image, preview, paste',

And also add this line after plugins line:

paste_as_text: true,

Worked for us.

  • Like 1
Link to comment
Share on other sites

5 hours ago, Tech Support said:

After investigating this, the issue looks to be that we are using TinyMCE of 4.0 version, which doesn't have "paste" plugin. Here is the archive of TinyMCE 4.9 version with all plugins:

https://kernel-scripts.com/updates/tinymce.zip

Download it and unpack in /admin/tinymce directory. Then in /admin/js/TinyMCEConfig.js you need to add paste under plugins line:

plugins: 'code, textcolor, link, image, preview, paste',

And also add this line after plugins line:

paste_as_text: true,

Worked for us.

Thanks for the answer!  Everything is fine now!

Edited by Duck
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...