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

git-svn-id: https://develop.svn.wordpress.org/trunk@21359 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2012-07-29 21:08:58 +00:00
parent 5ed30e85b9
commit 23e2a1813c
2 changed files with 4 additions and 4 deletions
@@ -249,10 +249,10 @@
t._handleMoreBreak(ed, url);
// Add custom shortcuts
mod_key = 'alt';
mod_key = 'alt+shift';
if ( tinymce.isIE || tinymce.isOpera )
mod_key = 'shift+alt';
if ( tinymce.isGecko )
mod_key = 'ctrl+alt';
ed.addShortcut(mod_key + '+c', 'justifycenter_desc', 'JustifyCenter');
ed.addShortcut(mod_key + '+r', 'justifyright_desc', 'JustifyRight');