TinyMCE: fix (again) the text in the keyboard shortcuts modal for the changed patterns.
See #31441. Built from https://develop.svn.wordpress.org/trunk@33504 git-svn-id: http://core.svn.wordpress.org/trunk@33471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -267,7 +267,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||
if ( editor.plugins.wptextpattern ) {
|
||||
// Text pattern section
|
||||
html = html +
|
||||
'<h2>' + __( '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.' ) + '</h2>' +
|
||||
'<h2>' + __( 'When starting a new paragraph with one of these formatting shortcuts followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.' ) + '</h2>' +
|
||||
'<table>' +
|
||||
tr({ '*': 'Bullet list' }) +
|
||||
tr({ '-': 'Bullet list' }) +
|
||||
@@ -276,7 +276,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||
'</table>';
|
||||
|
||||
html = html +
|
||||
'<h2>' + __( 'The following patterns are replaced on pressing Enter at the end of the paragraph. Press the Undo button to undo.' ) + '</h2>' +
|
||||
'<h2>' + __( 'The following formatting shortcuts are replaced when pressing Enter. Press Escape or the Undo button to undo.' ) + '</h2>' +
|
||||
'<table>' +
|
||||
tr({ '>': 'Blockquote' }) +
|
||||
tr({ '##': 'Heading 2' }) +
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Reference in New Issue
Block a user