Make WordPress Core

Changeset 21359


Ignore:
Timestamp:
07/29/2012 09:08:58 PM (13 years ago)
Author:
azaozz
Message:

TinyMCE shortcuts: revert to Alt + Shift + letter for WebKit and Ctrl + Alt + letter (Command + Option + letter) in Firefox, see #21197

Location:
trunk/wp-includes/js/tinymce
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js

    r21272 r21359  
    250250
    251251            // Add custom shortcuts
    252             mod_key = 'alt';
    253 
    254             if ( tinymce.isIE || tinymce.isOpera )
    255                 mod_key = 'shift+alt';
     252            mod_key = 'alt+shift';
     253
     254            if ( tinymce.isGecko )
     255                mod_key = 'ctrl+alt';
    256256
    257257            ed.addShortcut(mod_key + '+c', 'justifycenter_desc', 'JustifyCenter');
  • trunk/wp-includes/js/tinymce/wp-mce-help.php

    r21333 r21359  
    205205    </table>
    206206
    207     <p><?php _e('The following shortcuts use different access keys: Alt + letter in Firefox, Chrome and Safari, Alt + Shift + letter in Internet Explorer and Opera.') ?></p>
     207    <p><?php _e('The following shortcuts use different access keys: Alt + Shift + letter in Chrome, Safari, Internet Explorer and Opera, and Ctrl + Alt + letter (Command + Option + letter on Macintosh) in Firefox.') ?></p>
    208208    <table class="keys">
    209209        <tr class="top"><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th></tr>
Note: See TracChangeset for help on using the changeset viewer.