diff --git a/wp-includes/block-editor.php b/wp-includes/block-editor.php index 62ad62049c..4a62837f49 100644 --- a/wp-includes/block-editor.php +++ b/wp-includes/block-editor.php @@ -300,8 +300,6 @@ function _wp_get_iframed_editor_assets() { $script_handles = array(); $style_handles = array( - 'wp-block-editor', - 'wp-block-library', 'wp-edit-blocks', ); diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index de52578936..63f5c4fe28 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -1609,6 +1609,12 @@ function wp_default_styles( $styles ) { array() ); + $styles->add( + 'wp-block-editor-content', + "/wp-includes/css/dist/block-editor/content$suffix.css", + array() + ); + $wp_edit_blocks_dependencies = array( 'wp-components', 'wp-editor', @@ -1617,6 +1623,7 @@ function wp_default_styles( $styles ) { 'wp-reset-editor-styles', 'wp-block-library', 'wp-reusable-blocks', + 'wp-block-editor-content', ); // Only load the default layout and margin styles for themes without theme.json file. diff --git a/wp-includes/version.php b/wp-includes/version.php index d42bbd6adb..a07b271888 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55178'; +$wp_version = '6.2-alpha-55179'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.