Skip to content

Fix markdown editor preview mode and dirty close behavior#381

Merged
GCWing merged 1 commit intoGCWing:mainfrom
wgqqqqq:fix/markdown-editor-preview-dirty-close
Apr 10, 2026
Merged

Fix markdown editor preview mode and dirty close behavior#381
GCWing merged 1 commit intoGCWing:mainfrom
wgqqqqq:fix/markdown-editor-preview-dirty-close

Conversation

@wgqqqqq
Copy link
Copy Markdown
Collaborator

@wgqqqqq wgqqqqq commented Apr 10, 2026

Summary

  • add a Preview / Markdown mode toggle for the Markdown editor and keep dirty tracking consistent across mode switches
  • allow deleting an empty markdown table with backspace in the visual editor
  • prevent programmatic markdown content sync from entering the undo history so Cmd+Z does not mark untouched documents dirty
  • route dirty tab close confirmation through the shared confirm dialog and avoid duplicate close handling in canvas tab flows

Verification

  • pnpm run type-check:web
  • pnpm run lint:web

@GCWing GCWing merged commit 61e9c1a into GCWing:main Apr 10, 2026
4 checks passed
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.

2 participants