Skip to content

Commit

Permalink
Fix keyboard shortcut for save from the visual editor.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nacin committed Apr 26, 2015
1 parent fbf1657 commit b63a76f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wp-includes/js/tinymce/plugins/wordpress/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
Loading

0 comments on commit b63a76f

Please sign in to comment.