Skip to content

Conversation

matthewlipski
Copy link
Collaborator

Paragraph HTML elements sometimes act as wrappers for other elements. This PR makes it so that BlockNote only parses p elements into paragraph blocks if they have text content to not run into issues with this.

Closes #547

Copy link

vercel bot commented Jun 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jun 4, 2024 6:37pm
blocknote-website ✅ Ready (Inspect) Visit Preview Jun 4, 2024 6:37pm

Copy link
Collaborator

@YousefED YousefED left a comment

Choose a reason for hiding this comment

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

nice. would it be easy to add a unit test (not a pw test) for this?

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.

Error when pasting image
2 participants