Editor: Fix Mac keyboard shortcut for distraction free writing.
Fixes #36214. git-svn-id: https://develop.svn.wordpress.org/trunk@36973 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b68a4e3da6
commit
7552b192a8
@ -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 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user