mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
TinyMCE:
- Tighten up button styles, add :hover for .mce-active buttons. - Pad only the first toolbar row and remove the padding in both toolbars if the editor doesn't have a DFW mode. Part props avryl, see #27279 git-svn-id: https://develop.svn.wordpress.org/trunk@27978 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -168,7 +168,13 @@ final class _WP_Editors {
|
||||
$buttons .= '<a id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n";
|
||||
}
|
||||
|
||||
echo '<div id="wp-' . $editor_id . '-wrap" class="wp-core-ui wp-editor-wrap ' . $switch_class . '">';
|
||||
$wrap_class = 'wp-core-ui wp-editor-wrap ' . $switch_class;
|
||||
|
||||
if ( $set['dfw'] ) {
|
||||
$wrap_class .= ' has-dfw';
|
||||
}
|
||||
|
||||
echo '<div id="wp-' . $editor_id . '-wrap" class="' . $wrap_class . '">';
|
||||
|
||||
if ( self::$editor_buttons_css ) {
|
||||
wp_print_styles('editor-buttons');
|
||||
|
||||
Reference in New Issue
Block a user