Skip to content

Add ability to to parse and handle pasted HTML content #49

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

Closed
wants to merge 5 commits into from

Conversation

Half-Shot
Copy link
Member

  • Basic functionality
  • Works on Web
  • Works on Android / iOS
  • Tests

@Half-Shot
Copy link
Member Author

I started working on this, but I found that the insertion method I'm using is inserting extra elements into the tree. I feel like this needs better stripping semantics when pasting HTML.

Additionally, this uses the same parser we use for Matrix-HTML, which means it blows up on anything unexpected.

@Half-Shot
Copy link
Member Author

I think @langleyd has this covered.

@Half-Shot Half-Shot closed this Jul 16, 2025
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.

1 participant