BlockNote
BlockNote copied to clipboard
Custom blocks change type when dragging.
Describe the bug When I drag custom blocks and try to reorder them I get a strange issue. Lets say I have 2 custom blocks. when I drag one of them to reorder to place it underneath another the custom block will morph into the custom block that was above,
lets say I have
To Reproduce Add 2 custom blocks of different types to the editor. drag the custom block right below the other. occasionally (quite often) the custom block that I dragged will turn into the other,
Misc
- Node version: 0.24.1
- Package manager: npm
- Browser: arc
Hi, I wasn't able to reproduce this locally unfortunately - could you provide a sandbox which shows this issue?
Same here. If I drag custom blocks to another block, it sometimes becomes an exact clone of this block.
Using Version 0.25.2
Can either of you share a reproducible example? I think this might just be related to html serialization of the custom block (perhaps your parsers are matching the same element).