Skip to content

fix: make </> and md editor modes mutually exclusive - #110

Merged
fjbarrett merged 1 commit into
mainfrom
fix/editor-mode-mutex
Jun 15, 2026
Merged

fix: make </> and md editor modes mutually exclusive#110
fjbarrett merged 1 commit into
mainfrom
fix/editor-mode-mutex

Conversation

@fjbarrett

Copy link
Copy Markdown
Owner

Summary

  • Toggling </> (syntax highlighting) now turns off markdown preview
  • Toggling md (preview) now turns off syntax highlighting
  • The two modes were already visually exclusive (editor body renders only one), but buttons could both appear active

Test plan

  • Enable </> — md button deactivates
  • Enable md</> button deactivates
  • Toggling off either mode leaves editor in plain text mode

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
keep Ready Ready Preview, Comment Jun 15, 2026 8:25pm

Activating syntax highlighting now clears the markdown preview, and vice
versa — the two modes can no longer be on simultaneously.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fjbarrett
fjbarrett force-pushed the fix/editor-mode-mutex branch from 2977542 to 2faf6b6 Compare June 15, 2026 20:24
@fjbarrett
fjbarrett merged commit 682da26 into main Jun 15, 2026
3 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.

1 participant