diff --git a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js index beaddf945f..8209ba4109 100644 --- a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js @@ -549,7 +549,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { }); } - if ( editor.settings.wp_shortcut_labels ) { + if ( editor.settings.wp_shortcut_labels && editor.theme.panel ) { var labels = {}; var access = 'Shift+Alt+'; var meta = 'Ctrl+';