flowy
flowy copied to clipboard
Delete block by Id, and disable snap on minor block move
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
@alyssaxuu will we have this snap on minor block move implemented? @pilootchoum will you continue this PR?