Skip to content

Commit

Permalink
Add block directory styles to script-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Jul 14, 2020
1 parent 8921997 commit 9953936
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wp-includes/script-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -1463,13 +1463,15 @@ function wp_default_styles( $styles ) {
'wp-editor-font',
),
'block-library' => array(),
'block-directory' => array(),
'components' => array(),
'edit-post' => array(
'wp-components',
'wp-block-editor',
'wp-editor',
'wp-edit-blocks',
'wp-block-library',
'wp-block-directory',
'wp-nux',
),
'editor' => array(
Expand Down Expand Up @@ -1527,6 +1529,7 @@ function wp_default_styles( $styles ) {
'wp-edit-blocks',
'wp-block-editor',
'wp-block-library',
'wp-block-directory',
'wp-components',
'wp-edit-post',
'wp-editor',
Expand Down

0 comments on commit 9953936

Please sign in to comment.