diff --git a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css index d3bbb93c11..5afd750a7a 100644 --- a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css @@ -1197,7 +1197,7 @@ h6, /* Center image block by default in the editor */ .wp-block-image, -.wp-block-image > div { +.wp-block-image > div:not(.components-placeholder) { text-align: center; } diff --git a/wp-content/themes/twentytwentyone/assets/css/style-editor.css b/wp-content/themes/twentytwentyone/assets/css/style-editor.css index 8f61bab00c..d6019c45bb 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-editor.css @@ -1128,7 +1128,7 @@ h6, /* Center image block by default in the editor */ .wp-block-image, -.wp-block-image > div { +.wp-block-image > div:not(.components-placeholder) { text-align: center; } diff --git a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_editor.scss b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_editor.scss index dcbf6d3511..c108a60f9a 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_editor.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_editor.scss @@ -1,7 +1,7 @@ /* Center image block by default in the editor */ .wp-block-image, -.wp-block-image > div { +.wp-block-image > div:not(.components-placeholder) { text-align: center; } diff --git a/wp-includes/version.php b/wp-includes/version.php index b9007413b5..e62f640429 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52249'; +$wp_version = '5.9-alpha-52250'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.