mirror of
git://develop.git.wordpress.org/
synced 2025-03-19 11:29:48 +01:00
Fix keyboard shortcut for save from the visual editor.
props iseulde. see #32122, for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@32295 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c3ea088948
commit
29718f1c28
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user