I just implemented a very essential feature in the notes app I'm building π
It's now possible to rearrange blocks by moving them up and down. Added two options to the context menu that appears when right-clicking a block: "Move Up" and "Move Down".
This is currently implemented for image blocks, normal text blocks, and headings - so I still got a few more blocks to work on... Next task will be getting it to work in list blocks.
#dev #macOS #AppKit #Swift #SwiftUI

