Open matthewlipski opened 3 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
blocknote | ✅ Ready (Inspect) | Visit Preview | Jul 4, 2024 11:54am |
blocknote-website | ✅ Ready (Inspect) | Visit Preview | Jul 4, 2024 11:54am |
In the React unit tests, we use both
file
/image
as well asreactFile
/reactImage
to refer to the file and image block. It's inconsistent, causing the unit tests to actually be testing the vanilla implementation of those blocks. This PR fixes that and updates the snapshots. The snapshots aren't meaningfully different, the React implementations just add a few HTML attributes, likecontentEditable="false"
to the file/image previews andstroke="currentColor"
to icon SVGs.