SortableJS/Sortable

node remove, blind bug

ALTITUDE-DEV-FR opened this issue · 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