Changeset 37023
- Timestamp:
- 03/16/2016 10:59:03 PM (9 years ago)
- Location:
- trunk/src/wp-includes/js/tinymce/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js
r36807 r37023 292 292 tr({ '######': 'Heading 6' }) + 293 293 tr({ '---': 'Horizontal line' }) + 294 tr({ '***': 'Horizontal line' }) +295 '</table>';296 297 html = html +298 '<h2>' + __( 'The next group of formatting shortcuts are applied as you type or when you insert them around plain text in the same paragraph. Press Escape or the Undo button to undo.' ) + '</h2>' +299 '<table class="wp-help-th-center fixed">' +300 tr({ '*': 'Italic', '**': 'Bold' }) +301 tr({ '_': 'Italic', '__': 'Bold' }) +302 tr({ '`': 'Code', empty: '' }) +303 294 '</table>'; 304 295 } -
trunk/src/wp-includes/js/tinymce/plugins/wptextpattern/plugin.js
r36761 r37023 31 31 { start: '######', format: 'h6' }, 32 32 { start: '>', format: 'blockquote' }, 33 { regExp: /^ \s*(?:(?:\* ?){3,}|(?:_ ?){3,}|(?:- ?){3,})\s*$/, element: 'hr' }33 { regExp: /^(-){3,}$/, element: 'hr' } 34 34 ]; 35 35 36 36 var inlinePatterns = [ 37 { start: '*', end: '*', format: 'italic' },38 { start: '**', end: '**', format: 'bold' },39 { start: '_', end: '_', format: 'italic' },40 { start: '__', end: '__', format: 'bold' },41 37 { start: '`', end: '`', format: 'code' } 42 38 ];
Note: See TracChangeset
for help on using the changeset viewer.