Browse Source

fix: use correct 'pasteandmatchstyle' shortcut on macOS (#24153)

Elena Topaka 4 years ago
parent
commit
4e66f1b2c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/browser/api/menu-item-roles.js

+ 1 - 1
lib/browser/api/menu-item-roles.js

@@ -71,7 +71,7 @@ const roles = {
   },
   pasteandmatchstyle: {
     label: 'Paste and Match Style',
-    accelerator: 'Shift+CommandOrControl+V',
+    accelerator: isMac ? 'Cmd+Option+Shift+V' : 'Shift+CommandOrControl+V',
     webContentsMethod: 'pasteAndMatchStyle',
     registerAccelerator: false
   },