You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The blocknote editor experiences a runtime error when a block is dragged outside the editor frame or a drag doesn't fire the end event.
Error: New drag was started while an existing drag is ongoing
This is happening on a multi-editor page. I think there just needs to be some logic to close the drag event if it fails to land in a valid space.
You may already be aware of this.
To Reproduce
You can try it here with the latest release
nicholasdavidbrown
changed the title
Drag handling runtime error when block is dragged outside editor (e
Drag handling runtime error when block is dragged outside editor
Feb 19, 2025
Describe the bug
The blocknote editor experiences a runtime error when a block is dragged outside the editor frame or a drag doesn't fire the end event.
Error:
New drag was started while an existing drag is ongoing
This is happening on a multi-editor page. I think there just needs to be some logic to close the drag event if it fails to land in a valid space.
You may already be aware of this.
To Reproduce
You can try it here with the latest release
(https://stackblitz.com/github/TypeCellOS/BlockNote/tree/main/examples/01-basic/01-minimal?file=App.tsx)>
Open up the console and drag a block into some middle space between editors here , anything that gives a cancel icon on drag
Browser showing runtime error -
Misc
Thanks for creating such a great library!
The text was updated successfully, but these errors were encountered: