ProseMirror / prosemirror

The ProseMirror WYSIWYM editor
http://prosemirror.net/
MIT License
7.62k stars 336 forks source link

Command-Shift-v doesn't work on Safari #1304

Closed ocavue closed 2 years ago

ocavue commented 2 years ago

Command-Shift-v doesn't paste anything on Safari. It works fine (paste without marks) on Chrome.

Steps to reproduce

  1. Use Safari to open https://prosemirror.net/examples/basic/
  2. Select something and press Command-c
  3. Press Command-Shift-v. Nothing happens.

https://user-images.githubusercontent.com/24715727/182305688-5ff32ed9-b7e1-46f6-805a-751aacfc9db0.mp4

Environment

ocavue commented 2 years ago

Safari doesn't have this Command-Shift-v shortcut at all. That's why it didn't fire a paste event when I press this shortcut.

image image

Safari does support Command-Shift-Option-v, and it works fine on ProseMirror.

See also https://apple.stackexchange.com/questions/444228/cmd-shift-v-not-working-in-safari