BlockNote
BlockNote copied to clipboard
fix: RangeError when un-nesting certain blocks
This PR fixes an error caused when trying to un-nest blocks which have children.
Closes #481 Closes #598
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| blocknote | ✅ Ready (Inspect) | Visit Preview | Jun 3, 2024 4:52pm |
| blocknote-website | ✅ Ready (Inspect) | Visit Preview | Jun 3, 2024 4:52pm |
May be unrelated, I'm attempting to use this function to fix liftListItem in a function I'm creating.
The result when calling it is that all indentation is removed. So instead of going up 1 level, it goes to the root.
It may be a side effect of the function I'm writing (trying to have sinkListItem only affect the single node that's selected) though.