Editor: Fix Mac keyboard shortcut for distraction free writing.
Fixes #36214. Built from https://develop.svn.wordpress.org/trunk@36973 git-svn-id: http://core.svn.wordpress.org/trunk@36941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
70ac7ab943
commit
8592072857
|
@ -1143,7 +1143,7 @@
|
||||||
} );
|
} );
|
||||||
|
|
||||||
editor.addCommand( 'wpToggleDFW', toggle );
|
editor.addCommand( 'wpToggleDFW', toggle );
|
||||||
editor.addShortcut( 'alt+shift+w', '', 'wpToggleDFW' );
|
editor.addShortcut( 'access+w', '', 'wpToggleDFW' );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
$document.on( 'tinymce-editor-init.focus', function( event, editor ) {
|
$document.on( 'tinymce-editor-init.focus', function( event, editor ) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-beta3-36972';
|
$wp_version = '4.5-beta3-36973';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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