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. Merges [42625] to the 4.9 branch. See #42586. Built from https://develop.svn.wordpress.org/branches/4.9@42626 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dc9c4c4738
commit
9201cc33cc
|
@ -3155,6 +3155,8 @@ function wp_enqueue_code_editor( $args ) {
|
||||||
'Ctrl-/' => 'toggleComment',
|
'Ctrl-/' => 'toggleComment',
|
||||||
'Cmd-/' => 'toggleComment',
|
'Cmd-/' => 'toggleComment',
|
||||||
'Alt-F' => 'findPersistent',
|
'Alt-F' => 'findPersistent',
|
||||||
|
'Ctrl-F' => 'findPersistent',
|
||||||
|
'Cmd-F' => 'findPersistent',
|
||||||
),
|
),
|
||||||
'direction' => 'ltr', // Code is shown in LTR even in RTL languages.
|
'direction' => 'ltr', // Code is shown in LTR even in RTL languages.
|
||||||
'gutters' => array(),
|
'gutters' => array(),
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9.3-beta1-42623';
|
$wp_version = '4.9.3-beta1-42626';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue