Skip to content

fix: restore markdown editor undo handling#137

Open
miura-htec wants to merge 1 commit intoshuzijun:mainfrom
miura-htec:fix/cmd-z-undo
Open

fix: restore markdown editor undo handling#137
miura-htec wants to merge 1 commit intoshuzijun:mainfrom
miura-htec:fix/cmd-z-undo

Conversation

@miura-htec
Copy link

Fixes #134.

This PR restores macOS undo in the embedded Vditor editor.

  • make undo available immediately after edits
  • handle native historyUndo / historyRedo events
  • keep Cmd+Z working even when toolbar undo is present

Verified locally in IntelliJ on macOS:

  • edit text in Markdown Editor
  • press Cmd+Z
  • the last change is undone

@miura-htec miura-htec marked this pull request as ready for review March 11, 2026 08:47
@shuzijun
Copy link
Owner

The files modified in this PR are automatically synchronized via the dependency sync workflow defined in .github/workflows/dependencies.yml, rather than being edited manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor does not use Undo keybinding

2 participants