diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index aceeffcdc9..5aa9919724 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -1680,18 +1680,16 @@ function wp_default_styles( $styles ) { array( 'wp-components' ) ); + // Only add CONTENT styles here that should be enqueued in the iframe! $wp_edit_blocks_dependencies = array( 'wp-components', - 'wp-editor', /* * This needs to be added before the block library styles, * The block library styles override the "reset" styles. */ 'wp-reset-editor-styles', 'wp-block-library', - 'wp-reusable-blocks', 'wp-block-editor-content', - 'wp-patterns', ); // Only load the default layout and margin styles for themes without theme.json file. @@ -1750,24 +1748,25 @@ function wp_default_styles( $styles ) { 'edit-widgets' => array( 'wp-widgets', 'wp-block-editor', + 'wp-editor', 'wp-edit-blocks', 'wp-block-library', - 'wp-reusable-blocks', 'wp-patterns', 'wp-preferences', ), 'customize-widgets' => array( 'wp-widgets', 'wp-block-editor', + 'wp-editor', 'wp-edit-blocks', 'wp-block-library', - 'wp-reusable-blocks', 'wp-patterns', 'wp-preferences', ), 'edit-site' => array( 'wp-components', 'wp-block-editor', + 'wp-editor', 'wp-edit-blocks', 'wp-commands', 'wp-preferences', diff --git a/wp-includes/version.php b/wp-includes/version.php index cbb7c3d585..bf82f08f44 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59792'; +$wp_version = '6.8-alpha-59793'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.