Changeset 51202
- Timestamp:
- 06/22/2021 04:54:50 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/widgets-form-blocks.php
r51200 r51202 29 29 $block_editor_context 30 30 ); 31 32 // The widgets editor does not support the Block Directory, so don't load any of 33 // its assets. This also prevents 'wp-editor' from being enqueued which we 34 // cannot load in the widgets screen because many widget scripts rely on `wp.editor`. 35 remove_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' ); 31 36 32 37 wp_add_inline_script( … … 68 73 ?> 69 74 70 <div id="widgets-editor" class="blocks-widgets-container"></div> 75 <div id="widgets-editor" class="blocks-widgets-container"></div> 71 76 72 77 <?php
Note: See TracChangeset
for help on using the changeset viewer.