Ionaru / Ionaru/easy-markdown-editor
MacOS: conflicting keyboard shortcut to toggle preview (Cmd-P)
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
On MacOS, Cmd+P is the defacto shortcut for **Print**
**To Reproduce**
Steps to reproduce the behavior:
1. Type ⌘+P
2. **Print** setting will open
**Expected behavior**
Toggle preview
**Screenshots**

**Version information**
- OS: MacOS
- Browser: Safari 15.6 (17613.3.9.1.5)
- EasyMDE version: -
**Additional context**
Add any other context about the problem here.
Contributor guide
Research direction
No file or test is named. Start by locating the MacOS Cmd-P keyboard shortcut handling in the editor and reproduce the behavior in Safari; done means Cmd-P toggles preview without opening the Print setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100