- 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

git-svn-id: https://develop.svn.wordpress.org/trunk@27447 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-03-07 02:01:07 +00:00
parent 207da4064a
commit bb00c66c6a
4 changed files with 18 additions and 355 deletions

View File

@@ -211,7 +211,7 @@ final class _WP_Editors {
$ext_plugins = '';
if ( $set['teeny'] ) {
self::$plugins = $plugins = apply_filters( 'teeny_mce_plugins', array( 'fullscreen', 'link', 'image', 'wordpress', 'wpeditimage', 'wplink' ), $editor_id );
self::$plugins = $plugins = apply_filters( 'teeny_mce_plugins', array( 'fullscreen', 'image', 'wordpress', 'wpeditimage', 'wplink' ), $editor_id );
} else {
/**
* TinyMCE external plugins filter
@@ -232,7 +232,6 @@ final class _WP_Editors {
$plugins = array_unique( apply_filters( 'tiny_mce_plugins', array(
'charmap',
'hr',
'link',
'media',
'paste',
'tabfocus',