mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user