WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/07/2014 02:01:07 AM (6 years ago)
Author:
azaozz
Message:

TinyMCE:

  • Restore the "link" button state to disabled by default and enabled when text or image is selected.
  • Remove the (recently added) default link plugin, not needed for wpLink.

See #27309

File:
1 edited

Legend:

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

    r27428 r27447  
    212212
    213213                if ( $set['teeny'] ) {
    214                     self::$plugins = $plugins = apply_filters( 'teeny_mce_plugins', array( 'fullscreen', 'link', 'image', 'wordpress', 'wpeditimage', 'wplink' ), $editor_id );
     214                    self::$plugins = $plugins = apply_filters( 'teeny_mce_plugins', array( 'fullscreen', 'image', 'wordpress', 'wpeditimage', 'wplink' ), $editor_id );
    215215                } else {
    216216                    /**
     
    233233                        'charmap',
    234234                        'hr',
    235                         'link',
    236235                        'media',
    237236                        'paste',
Note: See TracChangeset for help on using the changeset viewer.