BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

fix: RangeError when un-nesting certain blocks

Open matthewlipski opened this issue 1 year ago • 2 comments

This PR fixes an error caused when trying to un-nest blocks which have children.

Closes #481 Closes #598

matthewlipski avatar Jun 03 '24 16:06 matthewlipski

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

vercel[bot] avatar Jun 03 '24 16:06 vercel[bot]

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.

sb8244 avatar Aug 04 '24 22:08 sb8244