Open matthewlipski opened 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 | May 31, 2024 4:30pm |
blocknote-website | ✅ Ready (Inspect) | Visit Preview | May 31, 2024 4:30pm |
This PR removes the hacky fix used for the
contentRef
prop by refactoring it into auseContent
prop. Now setting the editable element in a React block is done via this hook instead of thecontentRef
prop.Closes #659
TODO: There are currently a pretty big problem in that because this uses a hook which runs asynchronously, exporting to HTML does not properly serialize the content.