WordPress.org

Make WordPress Core

Ticket #27709: 27709.diff

File 27709.diff, 2.3 KB (added by nacin, 7 years ago)
  • src/wp-admin/js/wp-fullscreen.js

     
    269269
    270270                $spinner.show();
    271271                $errorMessage.hide();
     272                $saveMessage.hide();
    272273                $hidden.val('wp-fullscreen-save-post');
    273274
    274275                if ( s.editor && ! s.editor.isHidden() ) {
  • src/wp-includes/css/editor.css

     
    471471}
    472472
    473473.mce-menubtn.mce-fixed-width button span {
    474         width: auto;
    475474        max-width: 80px;
    476475        padding-right: 16px;
    477476}
     
    14681467        z-index: 200000;
    14691468}
    14701469
    1471 .wp-fullscreen-active .fullscreen-fader {
     1470.wp-fullscreen-active .fullscreen-fader,
     1471.wp-fullscreen-active .postbox-container {
    14721472        display: none;
    14731473}
    14741474
     
    15261526#wp-fullscreen-status {
    15271527        margin: 0 auto;
    15281528        padding: 0;
    1529         border-top: 1px dashed #ccc;
    15301529}
    15311530
    15321531.wp-fullscreen-active .wp-fullscreen-title,
     
    15441543
    15451544.wp-fullscreen-active .wp-editor-container {
    15461545        margin: 0 auto 30px;
    1547         border-bottom: 0;
    15481546}
    15491547
    15501548.wp-fullscreen-active .wp-fullscreen-title {
     
    16151613#wp-fullscreen-central-toolbar {
    16161614        margin: auto;
    16171615        padding: 0;
    1618         min-width: 550px;
     1616        min-width: 620px;
    16191617}
    16201618
    16211619#wp-fullscreen-buttons > div {
     
    18361834        .wp-fullscreen-wrap {
    18371835                width: 480px;
    18381836        }
    1839        
     1837
     1838        #fullscreen-topbar {
     1839                position: absolute;
     1840        }
     1841
    18401842        #wp-fullscreen-status {
    18411843                width: auto !important;
    18421844                max-width: 100%;
  • src/wp-includes/class-wp-editor.php

     
    12641264
    12651265                <div id="wp-fullscreen-save">
    12661266                        <input type="button" class="button button-primary right" value="<?php echo $save; ?>" onclick="wp.editor.fullscreen.save();" />
    1267                         <span class="spinner"></span>
    12681267                        <span class="wp-fullscreen-saved-message"><?php if ( $post->post_status == 'publish' ) _e('Updated.'); else _e('Saved.'); ?></span>
    12691268                        <span class="wp-fullscreen-error-message"><?php _e('Save failed.'); ?></span>
     1269                        <span class="spinner"></span>
    12701270                </div>
    12711271
    12721272                </div>