workbench
workbench copied to clipboard
Moving multiple blocks with Inbox doesn't maintain tree structure
Reported by Ekuboh, roam slack
https://www.loom.com/share/f0e96c5ff05e4ba793c74bd5b14c6fcb
Solution:
- calculate parent blocks
- move only parent block (children will follow)
https://github.com/RoamJS/workbench/blob/e4c925a0371f71a3aa349e545096ce9a30ac521b/src/features/workBench.ts#L322-L357
Current workaround: If you move them one tree at a time, it will maintain the tree structure. Put your cursor on the first block of the tree, then run the command.