flowy icon indicating copy to clipboard operation
flowy copied to clipboard

Delete block by Id, and disable snap on minor block move

Open pilootchoum opened this issue 4 years ago • 2 comments

pilootchoum avatar May 05 '20 08:05 pilootchoum

Would it be better to call this something like deleteBranch as it will ultimately remove the branch from that ID? eg. If we had the branch A > B > C > D, and we want to remove C, we would be left with just A > B

We could then add use deleteBlock to simply delete a single block and essentially promote the children. eg. If we had the branch A > B > C > D, and we want to remove C, we would be left with A > B > D

This would make this a little more future proof when the functionality to insert a block between 2 existing blocks is put in place

jamessampford avatar May 08 '20 08:05 jamessampford

@alyssaxuu will we have this snap on minor block move implemented? @pilootchoum will you continue this PR?

magnumfonseca avatar Nov 15 '22 19:11 magnumfonseca