Skip to content

Conversation

@djmb
Copy link
Contributor

@djmb djmb commented Dec 10, 2024

Expose Trix.config.dompurify to allow users to configure DOMPurify.

Additionally avoid stripping data-trix-* attributes.

Copy link
Member

@jorgemanrubia jorgemanrubia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great @djmb

Expose Trix.config.dompurify to allow users to configure DOMPurify.
Additionally avoid stripping data-trix-* attributes.
@djmb djmb force-pushed the dom-purify-config branch from 375e86a to da9d999 Compare December 10, 2024 13:36
@djmb djmb merged commit 32b0431 into main Dec 11, 2024
3 checks passed
@djmb djmb deleted the dom-purify-config branch December 11, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants