Skip to content

Commit 6aaf013

Browse files
Editor: Enqueue commands package styles.
Enqueues the stylesheet from the commands package which holds the CSS for the Command Palette feature. Props wildworks. Fixes #58667. git-svn-id: https://develop.svn.wordpress.org/trunk@56125 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 62b286f commit 6aaf013

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/wp-includes/script-loader.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,12 +1670,14 @@ function wp_default_styles( $styles ) {
16701670
'block-library' => array(),
16711671
'block-directory' => array(),
16721672
'components' => array(),
1673+
'commands' => array(),
16731674
'edit-post' => array(
16741675
'wp-components',
16751676
'wp-block-editor',
16761677
'wp-editor',
16771678
'wp-edit-blocks',
16781679
'wp-block-library',
1680+
'wp-commands',
16791681
),
16801682
'editor' => array(
16811683
'wp-components',
@@ -1707,6 +1709,7 @@ function wp_default_styles( $styles ) {
17071709
'wp-components',
17081710
'wp-block-editor',
17091711
'wp-edit-blocks',
1712+
'wp-commands',
17101713
),
17111714
);
17121715

@@ -1762,6 +1765,7 @@ function wp_default_styles( $styles ) {
17621765
'wp-block-editor',
17631766
'wp-block-library',
17641767
'wp-block-directory',
1768+
'wp-commands',
17651769
'wp-components',
17661770
'wp-customize-widgets',
17671771
'wp-edit-post',

0 commit comments

Comments
 (0)