mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
TinyMCE: revert Firefox shortcuts to match all other browsers (Alt+Shift+letter), fix the labels for the shortcuts, update description in wp-mce-help, fixes #21197
git-svn-id: https://develop.svn.wordpress.org/trunk@21415 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -251,8 +251,8 @@
|
||||
// Add custom shortcuts
|
||||
mod_key = 'alt+shift';
|
||||
|
||||
if ( tinymce.isGecko )
|
||||
mod_key = 'ctrl+alt';
|
||||
// if ( tinymce.isGecko ) // disable for mow, too many shortcuts conflicts
|
||||
// mod_key = 'ctrl+alt';
|
||||
|
||||
ed.addShortcut(mod_key + '+c', 'justifycenter_desc', 'JustifyCenter');
|
||||
ed.addShortcut(mod_key + '+r', 'justifyright_desc', 'JustifyRight');
|
||||
|
||||
Reference in New Issue
Block a user