mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 09:57:38 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@42625 git-svn-id: http://core.svn.wordpress.org/trunk@42454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d6a73ef110
commit
76ad62d11e
@ -3208,6 +3208,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 = '5.0-alpha-42624';
|
$wp_version = '5.0-alpha-42625';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user