Damus
Frederik Handberg · 3d
Btw. make sure to use `@Environment(\.undoManager)` in the SwiftUI view. This will automatically make the menu options and shortcuts (`Cmd+Z`) work. https://www.hackingwithswift.com/forums/macos/swiftui-app-life-cycle-undo-redo-and-menu-bar-items/7771
Frederik Handberg · 3d
This functionality is now supported by most block types, but still need to integrate the `UndoManager` in a few more blocks like headings and videos. Afterwards, I should make undo/redo work in the visual canvas. I also need to test thoroughly to make sure it only performs the undo action for the ...