Fix keyboard shortcut for save from the visual editor.

props iseulde.
see #32122, for trunk.

Built from https://develop.svn.wordpress.org/trunk@32295


git-svn-id: http://core.svn.wordpress.org/trunk@32266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2015-04-26 04:51:29 +00:00
parent fbf16573ee
commit b63a76fa4b
4 changed files with 3 additions and 3 deletions

View File

@ -432,7 +432,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
editor.shortcuts.add( 'access+' + key, '', command );
} );
editor.addShortcut( 'ctrl+s', '', function() {
editor.addShortcut( 'meta+s', '', function() {
if ( typeof wp !== 'undefined' && wp.autosave ) {
wp.autosave.server.triggerSave();
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32294';
$wp_version = '4.3-alpha-32295';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.