mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@27447 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user