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
In my react application, I have two completely different components that are both using BlockNote. Both components are visible at the same time under some circumstances. All features but one are working perfectly fine: Dragging & dropping blocks to re-arrange them.
If I drag and drop a block in one editor, this block is duplicated in the other editor!
My wild guess is, that both editors are listening to the same "drag-and-drop" event, and are both reacting to it accordingly.
To Reproduce
render two BlockNote editors next to each other
type some text in both editors (e.g. create 3 normal text blocks in each editor)
drag and drop text in one editor, you will notice the dragged text also appears in the other editor
Describe the bug
In my react application, I have two completely different components that are both using BlockNote. Both components are visible at the same time under some circumstances. All features but one are working perfectly fine: Dragging & dropping blocks to re-arrange them.
If I drag and drop a block in one editor, this block is duplicated in the other editor!
My wild guess is, that both editors are listening to the same "drag-and-drop" event, and are both reacting to it accordingly.
To Reproduce
Misc
The text was updated successfully, but these errors were encountered: