-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After dnd of a custom block, the editor sometimes loses the block or changes its data unexpectedly. #1396
Comments
Thanks for reporting. @ellykiddy which version of blocknote are you using? |
0.23.0 ps: checked changelog; the issue must be on 0.23.1 too |
Thanks. Does anything appear in the browser logs, or can you reproduce it with an isolated example (e.g.: on stackblitz)? |
I am encountering the same exception. In the browser console, it appears like this. "@blocknote/core": "^0.23.1", Exception Message in browser console is
BlockSuiteWrapper.tsx
|
Thanks @homecheck-garden . Would it be possible to create a reproducible example, for example using Stackblitz? |
@YousefED sure. can you see this url? |
I'm sorry if I sound like I'm rushing you, but could you please let me know if there are any updates? |
Describe the bug
Sometimes, the editor loses a block after dnd. I added logs to the onEditorContentChange function, and after dnd, the block is missing from the editor document. It seems like the block just disappears.
To Reproduce
https://drive.google.com/file/d/1zVuWurChspTwsIGIiwXM3iNOt1Hb0gN8/view?usp=sharing
Misc
Node version: v16.14.2
Package manager: pnpm
Browser: Chrome 132
The text was updated successfully, but these errors were encountered: