easy-markdown-editor icon indicating copy to clipboard operation
easy-markdown-editor copied to clipboard

MacOS: conflicting keyboard shortcut to toggle preview (Cmd-P)

Open dminca opened this issue 1 year ago • 3 comments

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 image

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.

dminca avatar Jul 29 '22 09:07 dminca

Make sure you test this while you have are typing in the EasyMDE editor. On Windows the same shortcut is used for printing, but the editor shortcut has priority while the cursor is inside it.

If that doesn't work it means there's another difference between Safari and other browsers... 🙄

Ionaru avatar Jul 29 '22 09:07 Ionaru

Test it on https://easy-markdown-editor.tk/, just to be safe.

Ionaru avatar Jul 29 '22 09:07 Ionaru

Test it on https://easy-markdown-editor.tk/, just to be safe.

Thanks, it works perfectly fine there.

I've bumped into it whilst in Codeberg.org Issues editor which is using EasyMDE

dminca avatar Jul 29 '22 10:07 dminca