Make WordPress Core

Changeset 33501


Ignore:
Timestamp:
07/29/2015 09:06:13 PM (10 years ago)
Author:
azaozz
Message:

TinyMCE: fix the text in the keyboard shortcuts modal for the changed patterns.
See #31441.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r33295 r33501  
    10551055            '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.' =>
    10561056                __( '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.' ),
     1057            'The following patterns are replaced on pressing Enter at the end of the paragraph. Press the Undo button to undo.' =>
     1058                __( 'The following patterns are replaced on pressing Enter at the end of the paragraph. Press the Undo button to undo.' ),
    10571059        );
    10581060
  • trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

    r33461 r33501  
    270270                '<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>' +
    271271                '<table>' +
    272                     tr({ '*</kbd>&nbsp;<kbd>-':  'Bullet list' }) +
    273                     tr({ '1.</kbd>&nbsp;<kbd>1)':  'Numbered list' }) +
     272                    tr({ '*':  'Bullet list' }) +
     273                    tr({ '-':  'Bullet list' }) +
     274                    tr({ '1.':  'Numbered list' }) +
     275                    tr({ '1)':  'Numbered list' }) +
     276                '</table>';
     277
     278            html = html +
     279                '<h2>' + __( 'The following patterns are replaced on pressing Enter at the end of the paragraph. Press the Undo button to undo.' ) + '</h2>' +
     280                '<table>' +
    274281                    tr({ '>': 'Blockquote' }) +
    275282                    tr({ '##': 'Heading 2' }) +
Note: See TracChangeset for help on using the changeset viewer.