Make WordPress Core

Changeset 30711


Ignore:
Timestamp:
12/02/2014 08:39:13 PM (10 years ago)
Author:
azaozz
Message:

Editor: hide the DFW v2 button when editor-expand is off. Fixes #30568.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/edit.css

    r30710 r30711  
    12451245-------------------------------------------------------------- */
    12461246
     1247#wp-content-wrap .mce-wp-dfw,
     1248#qt_content_dfw {
     1249    display: none;
     1250}
     1251
     1252.wp-editor-expand #wp-content-wrap .mce-wp-dfw,
     1253.wp-editor-expand #qt_content_dfw {
     1254    display: inline-block;
     1255}
     1256
    12471257.focus-on .wrap > h2,
    12481258.focus-on #wpfooter,
  • trunk/src/wp-admin/includes/template.php

    r30695 r30711  
    20452045    public static function pointer_wp410_dfw() {
    20462046        // Don't show when editor-scrolling is not used.
    2047         if ( empty( $GLOBALS['_content_editor_dfw'] ) ) {
     2047        if ( empty( $GLOBALS['_wp_editor_expand'] ) ) {
    20482048            return;
    20492049        }
Note: See TracChangeset for help on using the changeset viewer.