mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
62b286f9b2
commit
6aaf01313a
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user