You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hotkeys Stop Working After Switching Between Preview and Edit Modes #1298
Bug Report: Hotkeys Stop Working After Switching Between Preview and Edit Modes
🐛 Bug Description
When using the Markdoc editor, keyboard shortcuts (hotkeys) stop functioning after switching from editing mode to preview mode and back to editing mode.
🔍 Steps to Reproduce
Navigate to the editor page (/create or /create/{id})
Start typing in the editor textarea
Test any hotkey (e.g., Ctrl+B for bold, Ctrl+I for italic, Ctrl+1 for heading 1)
✅ Hotkeys work correctly
Click the "View preview" button
Click the "Back to editing" button
Try using the same hotkeys again
❌ Hotkeys no longer work
🎯 Expected Behavior
Hotkeys should continue to work normally after switching between preview and edit modes.
💻 Current Behavior
Hotkeys become unresponsive after returning from preview mode to editing mode.
Hello @ai-engineer-devansh-singh, thanks for opening your first issue! Your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.
ai-engineer-devansh-singh commented on Oct 18, 2025
Activity
github-actions commentedon Oct 18, 2025
Hello @ai-engineer-devansh-singh, thanks for opening your first issue! Your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.
ai-engineer-devansh-singh commentedon Oct 18, 2025
kindly assign this to me
Fix: Hotkeys stop working after switching between preview and edit mo…