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.

Built from https://develop.svn.wordpress.org/trunk@56125


git-svn-id: http://core.svn.wordpress.org/trunk@55637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
isabel_brison 2023-07-03 06:50:25 +00:00
parent 3ff68df981
commit c17c4ec2cb
2 changed files with 5 additions and 1 deletions

View File

@ -1670,12 +1670,14 @@ function wp_default_styles( $styles ) {
'block-library' => array(),
'block-directory' => array(),
'components' => array(),
'commands' => array(),
'edit-post' => array(
'wp-components',
'wp-block-editor',
'wp-editor',
'wp-edit-blocks',
'wp-block-library',
'wp-commands',
),
'editor' => array(
'wp-components',
@ -1707,6 +1709,7 @@ function wp_default_styles( $styles ) {
'wp-components',
'wp-block-editor',
'wp-edit-blocks',
'wp-commands',
),
);
@ -1762,6 +1765,7 @@ function wp_default_styles( $styles ) {
'wp-block-editor',
'wp-block-library',
'wp-block-directory',
'wp-commands',
'wp-components',
'wp-customize-widgets',
'wp-edit-post',

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-beta2-56124';
$wp_version = '6.3-beta2-56125';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.