Making WordPress.org


Ignore:
Timestamp:
07/30/2018 01:34:10 AM (5 years ago)
Author:
obenland
Message:

Gutenberg: Hide sidebar, tips, and revision link

Makes for a better ux when loading up Frontenberg.

See #3703.

File:
1 edited

Legend:

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

    r7514 r7520  
    5353            'after'
    5454        );
     55        wp_add_inline_script(
     56            'wp-edit-post',
     57            'wp.data.dispatch( "core/edit-post" ).closeGeneralSidebar();' .
     58            'wp.data.dispatch( "core/nux" ).disableTips();'
     59        );
    5560    } );
    5661    add_action( 'wp_enqueue_scripts', 'gutenberg_editor_scripts_and_styles' );
Note: See TracChangeset for help on using the changeset viewer.