Ticket #46640: 46640.diff
File 46640.diff, 1.1 KB (added by , 5 years ago) |
---|
-
src/wp-admin/css/edit.css
1273 1273 /* DFW 2 1274 1274 -------------------------------------------------------------- */ 1275 1275 1276 #wp-content-wrap .mce-wp-dfw,1277 1276 #qt_content_dfw { 1278 1277 display: none; 1279 1278 } 1280 1279 1281 .wp-editor-expand #wp-content-wrap .mce-wp-dfw,1282 1280 .wp-editor-expand #qt_content_dfw { 1283 1281 display: inline-block; 1284 1282 } -
src/wp-includes/class-wp-editor.php
587 587 588 588 if ( ! wp_is_mobile() ) { 589 589 if ( $set['_content_editor_dfw'] ) { 590 $mce_buttons[] = 'wp_adv'; 590 591 $mce_buttons[] = 'dfw'; 591 592 } else { 592 593 $mce_buttons[] = 'fullscreen'; 594 $mce_buttons[] = 'wp_adv'; 593 595 } 596 } else { 597 $mce_buttons[] = 'wp_adv'; 594 598 } 595 599 596 $mce_buttons[] = 'wp_adv';597 598 600 /** 599 601 * Filters the first-row list of TinyMCE buttons (Visual tab). 600 602 *