Block Editor: Update the WordPress Packages based on Gutenberg 11.9 RC1.

This brings the JS packages up to date and is the first step that will allow us 
to include the other block editor updates for WordPress 5.9:
FSE infrastrucutre, site editor and global styles.

Props noisysocks.
See #54337.


git-svn-id: https://develop.svn.wordpress.org/trunk@52042 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Riad Benguella
2021-11-08 14:26:27 +00:00
parent 7bbee20833
commit fdb2dacc19
72 changed files with 4977 additions and 3997 deletions

View File

@@ -170,7 +170,7 @@ class Tests_Blocks_Editor extends WP_UnitTestCase {
public function test_get_default_block_editor_settings() {
$settings = get_default_block_editor_settings();
$this->assertCount( 16, $settings );
$this->assertCount( 17, $settings );
$this->assertFalse( $settings['alignWide'] );
$this->assertIsArray( $settings['allowedMimeTypes'] );
$this->assertTrue( $settings['allowedBlockTypes'] );
@@ -493,19 +493,4 @@ class Tests_Blocks_Editor extends WP_UnitTestCase {
$this->assertStringContainsString( '"\/wp\/v2\/blocks"', $after );
$this->assertStringContainsString( '"\/wp\/v2\/types"', $after );
}
/**
* @ticket 53344
*/
public function test_get_block_editor_theme_styles() {
$theme_styles = get_block_editor_theme_styles();
$this->assertCount( 1, $theme_styles );
$this->assertSameSets(
array(
'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }',
'__unstableType' => 'core',
),
$theme_styles[0]
);
}
}