Describe the bug
I have a few instances of BlockNote on my page. One on initial render, and others that come from a side nav when clicked. When I render an image or custom block in the side nav instance and perform a drag, I get the error a type error.
TypeError: Cannot read properties of undefined (reading 'nodeType')
To Reproduce
1 - Mount an instance of BockNote on a page
2 - Conditionally mount a second instance of BlockNote
3 - Create a custom block
4 - Render custom block in the conditionally instance of BlockNote
5 - Perform drag on custom block
Misc
Node version: v19.0.1
Package manager: webpack (nextjs 14.1.4)
Browser: Chrome
[x] I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Describe the bug I have a few instances of BlockNote on my page. One on initial render, and others that come from a side nav when clicked. When I render an image or custom block in the side nav instance and perform a drag, I get the error a type error.
TypeError: Cannot read properties of undefined (reading 'nodeType')
https://github.com/user-attachments/assets/ff4ce173-30e6-4587-905f-fb306cd3da30
To Reproduce 1 - Mount an instance of BockNote on a page 2 - Conditionally mount a second instance of BlockNote 3 - Create a custom block 4 - Render custom block in the conditionally instance of BlockNote 5 - Perform drag on custom block
Misc