From 23e2a1813cdedebff868c43d3391238591e28abf Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sun, 29 Jul 2012 21:08:58 +0000 Subject: [PATCH] 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 --- .../js/tinymce/plugins/wordpress/editor_plugin_src.js | 6 +++--- wp-includes/js/tinymce/wp-mce-help.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js b/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js index 2c11519631..0e7a93731e 100644 --- a/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js +++ b/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js @@ -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'); diff --git a/wp-includes/js/tinymce/wp-mce-help.php b/wp-includes/js/tinymce/wp-mce-help.php index add970e77b..3e04a97c10 100644 --- a/wp-includes/js/tinymce/wp-mce-help.php +++ b/wp-includes/js/tinymce/wp-mce-help.php @@ -204,7 +204,7 @@ if ( tinymce.isMac ) 69 -

+

nl