Changeset 38932
- Timestamp:
- 10/25/2016 10:50:21 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r38897 r38932 555 555 'preview_styles' => 'font-family font-size font-weight font-style text-decoration text-transform', 556 556 557 // Disable H1 in the drop-down and the menu. 558 'block_formats' => 559 'Paragraph=p;' . 560 'Heading 2=h2;' . 561 'Heading 3=h3;' . 562 'Heading 4=h4;' . 563 'Heading 5=h5;' . 564 'Heading 6=h6;' . 565 'Preformatted=pre', 566 557 567 'end_container_on_empty_block' => true, 558 568 'wpeditimage_disable_captions' => $no_captions, … … 610 620 $mce_buttons_2 = $mce_buttons_3 = $mce_buttons_4 = array(); 611 621 } else { 612 $mce_buttons = array( ' bold', 'italic', 'strikethrough', 'bullist', 'numlist', 'blockquote', 'hr', 'alignleft', 'aligncenter', 'alignright', 'link', 'unlink', 'wp_more', 'spellchecker' );622 $mce_buttons = array( 'formatselect', 'bold', 'italic', 'bullist', 'numlist', 'blockquote', 'alignleft', 'aligncenter', 'alignright', 'link', 'unlink', 'wp_more', 'spellchecker' ); 613 623 614 624 if ( ! wp_is_mobile() ) { … … 632 642 $mce_buttons = apply_filters( 'mce_buttons', $mce_buttons, $editor_id ); 633 643 634 $mce_buttons_2 = array( ' formatselect', 'underline', 'alignjustify', 'forecolor', 'pastetext', 'removeformat', 'charmap', 'outdent', 'indent', 'undo', 'redo' );644 $mce_buttons_2 = array( 'strikethrough', 'hr', 'forecolor', 'pastetext', 'removeformat', 'charmap', 'outdent', 'indent', 'undo', 'redo' ); 635 645 636 646 if ( ! wp_is_mobile() ) {
Note: See TracChangeset
for help on using the changeset viewer.