diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index c721c49306..0ed7747a64 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -1045,6 +1045,8 @@ final class _WP_Editors { 'Action' => __( 'Action' ), 'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' => __( 'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' ), + 'When starting a new paragraph with one of these patterns followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' => + __( 'When starting a new paragraph with one of these patterns followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' ), ); /** diff --git a/src/wp-includes/css/editor.css b/src/wp-includes/css/editor.css index 4cd07ae90d..a4a1fad93d 100644 --- a/src/wp-includes/css/editor.css +++ b/src/wp-includes/css/editor.css @@ -150,6 +150,9 @@ .mce-window .wp-editor-help th { font-weight: bold; padding: 5px 0 0; +} + +.mce-window .wp-editor-help .wp-help-th-center th { text-align: center; } diff --git a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js index 01b0e576b3..2ed49d175c 100644 --- a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js @@ -205,7 +205,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { meta = tinymce.Env.mac ? __( 'Cmd + letter:' ) : __( 'Ctrl + letter:' ), table1 = [], table2 = [], - header; + header, html; each( [ { c: 'Copy', x: 'Cut' }, @@ -250,33 +250,56 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { header = [ __( 'Letter' ), __( 'Action' ), __( 'Letter' ), __( 'Action' ) ]; header = '
' + __( 'Default shortcuts,' ) + ' ' + meta + '
' + + '' + __( 'Additional shortcuts,' ) + ' ' + access + '
' + + '' + __( 'When starting a new paragraph with one of these patterns followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' ) + '
' + + '' + __( 'Focus shortcuts:' ) + '
' + + '' + __( 'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' ) + '
'; + + html += '' + __( 'Default shortcuts,' ) + ' ' + meta + '
' + - '' + __( 'Additional shortcuts,' ) + ' ' + access + '
' + - '' + __( 'Focus shortcuts:' ) + '
' + - '' + __( 'To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.' ) + '
' + - '