Twenty Twenty One: Remove Image block placeholder alignment override in editor styles.

This changes excludes the Image block placeholder from the default image centering in Twenty Twenty-One editor styles.

Props multidots1896, sabernhardt, Boniu91, justinahinon.
Fixes #54254.

Built from https://develop.svn.wordpress.org/trunk@52250


git-svn-id: http://core.svn.wordpress.org/trunk@51842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2021-11-25 22:31:04 +00:00
parent b0743f17e1
commit 0c54c14a37
4 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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.