Skip to content

Commit

Permalink
Keyboard Shortcut: introduce primary+v to paste selected blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Jan 9, 2025
1 parent 98cdf42 commit 7e0fcc7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/block-editor/src/components/keyboard-shortcuts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ function KeyboardShortcutsRegister() {
},
} );

registerShortcut( {
name: 'core/block-editor/paste',
category: 'block',
description: __( 'Paste the selected block(s).' ),
keyCombination: {
modifier: 'primary',
character: 'v',
},
} );

registerShortcut( {
name: 'core/block-editor/duplicate',
category: 'block',
Expand Down

0 comments on commit 7e0fcc7

Please sign in to comment.