Code Editor: Add Ctrl/Cmd+F as aliases for persistent search for more intuitive behaviour.
Keep Alt+F as well for users who already expect that. Props Desertsnowman. See #42586. git-svn-id: https://develop.svn.wordpress.org/trunk@42625 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
37e81feb9f
commit
1c0257d340
|
@ -3208,6 +3208,8 @@ function wp_enqueue_code_editor( $args ) {
|
|||
'Ctrl-/' => 'toggleComment',
|
||||
'Cmd-/' => 'toggleComment',
|
||||
'Alt-F' => 'findPersistent',
|
||||
'Ctrl-F' => 'findPersistent',
|
||||
'Cmd-F' => 'findPersistent',
|
||||
),
|
||||
'direction' => 'ltr', // Code is shown in LTR even in RTL languages.
|
||||
'gutters' => array(),
|
||||
|
|
Loading…
Reference in New Issue