BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Custom blocks change type when dragging.

Open devtestersweden opened this issue 9 months ago • 2 comments

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

devtestersweden avatar Feb 21 '25 09:02 devtestersweden

Hi, I wasn't able to reproduce this locally unfortunately - could you provide a sandbox which shows this issue?

matthewlipski avatar Feb 24 '25 13:02 matthewlipski

Same here. If I drag custom blocks to another block, it sometimes becomes an exact clone of this block.

Using Version 0.25.2

Aichnerc avatar Mar 19 '25 07:03 Aichnerc

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).

nperez0111 avatar Jun 26 '25 08:06 nperez0111