Changeset 7592 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
- Timestamp:
- 08/03/2018 10:47:46 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
r7584 r7592 156 156 'wp.data.dispatch( "core/edit-post" ).closeGeneralSidebar();' . 157 157 'wp.data.dispatch( "core/nux" ).disableTips();' . 158 ' wp.domReady( function() { wp.blocks.unregisterBlockType( "core/shortcode" ); } );'158 '_wpLoadGutenbergEditor.then( function() { wp.blocks.unregisterBlockType( "core/shortcode" ); } );' 159 159 ); 160 160 }, 11 );
Note: See TracChangeset
for help on using the changeset viewer.