TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.
https://www.blocknotejs.org/
Mozilla Public License 2.0
5.91k stars 386 forks source link

fix: Parsing paragraphs without text content #798

Closed matthewlipski closed 1 month ago

matthewlipski commented 1 month ago

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

vercel[bot] commented 1 month ago

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