Ticket #28846: 28846.patch
File 28846.patch, 677 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/js/wp-fullscreen.js
696 696 } 697 697 }; 698 698 699 // Bind the open/close keyboard shortcut when focus is outside of the Visual editor 700 $( window ).on( 'keydown.wp-fullscreen-shortcut', function( event ) { 701 if ( event.altKey && event.shiftKey && event.keyCode === 87 ) { // 87 is for W 702 if ( api.settings.visible ) { 703 api.off(); 704 } else { 705 api.on(); 706 } 707 } 708 }); 709 699 710 // Export 700 711 window.wp = window.wp || {}; 701 712 window.wp.editor = window.wp.editor || {};