Skip to content

Commit 4e66f1b

Browse files
fix: use correct 'pasteandmatchstyle' shortcut on macOS (electron#24153)
1 parent a54fcde commit 4e66f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const roles = {
7171
},
7272
pasteandmatchstyle: {
7373
label: 'Paste and Match Style',
74-
accelerator: 'Shift+CommandOrControl+V',
74+
accelerator: isMac ? 'Cmd+Option+Shift+V' : 'Shift+CommandOrControl+V',
7575
webContentsMethod: 'pasteAndMatchStyle',
7676
registerAccelerator: false
7777
},

0 commit comments

Comments
 (0)