Skip to content
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

Sanitized HTML rendering for non-Tiptap content #2

Open
Tracked by #3
McManning opened this issue Feb 23, 2023 · 0 comments
Open
Tracked by #3

Sanitized HTML rendering for non-Tiptap content #2

McManning opened this issue Feb 23, 2023 · 0 comments

Comments

@McManning
Copy link
Contributor

McManning commented Feb 23, 2023

I've encapsulated what needs to be done into the ReadOnlyMessage component. HTML sanitizing must be in line with what Tiptap supports. Might be able to use Prosemirror utilities directly to do the work instead of custom writing something - or a singular shared Tiptap instance that we load content into once, sanitize, and extract. tbd.

@McManning McManning changed the title Sanitized HTML rendering for non-Tiptap content (maybe just a read-only tiptap instance? If it works @ scale) Sanitized HTML rendering for non-Tiptap content Feb 23, 2023
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

No branches or pull requests

1 participant