WordPress.org

Making WordPress.org

Changeset 7528


Ignore:
Timestamp:
07/30/2018 06:41:36 AM (3 years ago)
Author:
tellyworth
Message:

Gutenberg: hide editor toolbar buttons that are irrelevant for the demo.

See #3703

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php

    r7523 r7528  
    4949            'wp.data.dispatch( "core/nux" ).disableTips();'
    5050        );
     51        wp_add_inline_style(
     52            'buttons',
     53            '.is-button.is-large, .editor-post-publish-panel__toggle { display: none !important; }
     54            .editor-post-preview { visibility: hidden; }'
     55        );
    5156    } );
    5257    add_action( 'wp_enqueue_scripts', 'gutenberg_editor_scripts_and_styles' );
Note: See TracChangeset for help on using the changeset viewer.