Changeset 45172
- Timestamp:
- 04/12/2019 06:07:47 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/editor/dfw.js
r45127 r45172 1474 1474 var button = this; 1475 1475 1476 editor.on( 'init', function() { 1477 if ( button.disabled() ) { 1478 button.hide(); 1479 } 1480 } ); 1481 1476 1482 $document 1477 1483 .on( 'dfw-activate.focus', function() { 1478 1484 button.disabled( false ); 1485 button.show(); 1479 1486 } ) 1480 1487 .on( 'dfw-deactivate.focus', function() { 1481 1488 button.disabled( true ); 1489 button.hide(); 1482 1490 } ) 1483 1491 .on( 'dfw-on.focus', function() { -
trunk/src/wp-admin/css/edit.css
r44963 r45172 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; -
trunk/src/wp-includes/class-wp-editor.php
r45066 r45172 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 596 $mce_buttons[] = 'wp_adv';597 599 598 600 /** -
trunk/src/wp-includes/css/editor.css
r44791 r45172 1270 1270 top: 0; 1271 1271 right: 0; 1272 } 1273 1274 .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw { 1275 margin: 7px 7px 0 0; 1276 } 1277 1278 .qt-dfw { 1272 1279 margin: 5px 5px 0 0; 1273 1280 }
Note: See TracChangeset
for help on using the changeset viewer.