Duck Posted July 7, 2021 Share Posted July 7, 2021 (edited) I've tried all from this topic:https://stackoverflow.com/questions/2695731/how-to-make-tinymce-paste-in-plain-text-by-default Nothing worked :( Edited July 7, 2021 by Duck Quote Link to comment Share on other sites More sharing options...
Tech Support Posted July 7, 2021 Share Posted July 7, 2021 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. 1 Quote Link to comment Share on other sites More sharing options...
Duck Posted July 7, 2021 Author Share Posted July 7, 2021 (edited) 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 July 7, 2021 by Duck Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.