Make WordPress Core

Changeset 27428


Ignore:
Timestamp:
03/06/2014 12:53:40 AM (10 years ago)
Author:
azaozz
Message:

TinyMCE: add the <hr> plugin and button, see #27159

Location:
trunk/src/wp-includes
Files:
3 added
1 edited

Legend:

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

    r27408 r27428  
    232232                    $plugins = array_unique( apply_filters( 'tiny_mce_plugins', array(
    233233                        'charmap',
     234                        'hr',
    234235                        'link',
    235236                        'media',
     
    391392                $mce_buttons_2 = $mce_buttons_3 = $mce_buttons_4 = array();
    392393            } else {
    393                 $mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'strikethrough', 'bullist', 'numlist', 'blockquote', 'alignleft', 'aligncenter', 'alignright', 'image', 'link', 'unlink', 'wp_more', 'spellchecker', 'fullscreen', 'wp_adv' ), $editor_id);
     394                $mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'strikethrough', 'bullist', 'numlist', 'blockquote', 'hr', 'alignleft', 'aligncenter', 'alignright', 'link', 'unlink', 'wp_more', 'spellchecker', 'fullscreen', 'wp_adv' ), $editor_id);
    394395                $mce_buttons_2 = apply_filters('mce_buttons_2', array( 'formatselect', 'underline', 'alignjustify', 'forecolor', 'pastetext', 'removeformat', 'charmap', 'outdent', 'indent', 'undo', 'redo', 'wp_help' ), $editor_id);
    395396                $mce_buttons_3 = apply_filters('mce_buttons_3', array(), $editor_id);
Note: See TracChangeset for help on using the changeset viewer.