drem Posted January 10 Share Posted January 10 Hello everyone, I stumbled across a strange problem while trying to use the Pastefilter option for a TinyMCE field. No matter what I put in "pastefilter white list" in the TinyMCE module config ("default" or a list of tags), the field always remove every tag when I try to paste something in it. It means that if I copy/paste something like '<em>ello</em>', the <em> tag is removed even if it is meant to be allowed by the whitelist. It is quite problematic as my clients are "copy/paste from Word" adepts. Am I the only one with this problem? Thx! Link to comment Share on other sites More sharing options...
Jonathan Lahijani Posted January 10 Share Posted January 10 This is a known issue. I actually made a big report in the PW issues repository on GitHub. 1 Link to comment Share on other sites More sharing options...
drem Posted January 11 Author Share Posted January 11 Oh ok! Just saw your report (https://github.com/processwire/processwire-issues/issues/1866). I guess we just have to wait then... 1 Link to comment Share on other sites More sharing options...
ManuelBridwell Posted January 17 Share Posted January 17 On 1/10/2024 at 5:56 PM, drem said: Hello everyone, I stumbled across a strange problem while trying to use the Pastefilter option for a TinyMCE field. No matter what I put in "pastefilter white list" in the TinyMCE module config ("default" or a list of tags), the field always remove every tag when I try to paste something in it. It means that if I copy/paste something like '<em>ello</em>', the <em> tag is removed even if it is meant to be allowed by the whitelist. It is quite problematic as my clients are "copy/paste from Word" adepts. Am I the only one with this problem? Thx! Replying for the update. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now