Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

node remove, blind bug

Open ALTITUDE-DEV-FR opened this issue 1 year ago • 0 comments

Hello, How to remove a block from node and not affect the drag/drop system ? demo: https://builder.andromede-cms.com/ https://gitlab.com/altitude-dev/website-builder-js

(if you delete a block, with supp or - in menu context, after if you sort a block, is blind..)

deleteBlock(block) {
    block.remove(); // remove the block selected
    sortable.destroy(); // refresh my sortable ?
},

My function remove the block node and i need to not blind a cusor for drag and drop, is full bug :( Thanks for help

ALTITUDE-DEV-FR avatar Jul 07 '24 00:07 ALTITUDE-DEV-FR