-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trix no longer adds dataset attributes on inserted attachments in 2.1.4 #1178
Comments
I have the same issue, Seems like it has to do with the recent changes of always applying the HTMLSanitizer, so we need to add the In my case, I need a
The parser element looks like it has the correct list of allowedAttributes now? ( |
Same issue but with the nodes themselves: since Trix 2.1.4, embedding YouTube/Vimeo videos in the editor no longer works because they're using |
I forked the repo and proposed a fix that moves the sanitizer's options to remove(this.Trix.config.parser.forbiddenElements, type => type === 'iframe'); // Allow iframes for video embeds
this.Trix.config.parser.allowedAttributes.push('frameborder', 'allowfullscreen'); |
Is there anyone from Basecamp willing to review this? |
Describe the bug or issue here…
Steps to Reproduce
This was working fine prior to version 2.1.4.
Details
The text was updated successfully, but these errors were encountered: