Jump to content

Pastefilter from TinyMCE removes everything


drem
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...