diff --git a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css index 9665360514..caaee11b38 100644 --- a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css @@ -1458,6 +1458,7 @@ h6 { } /* Center image block by default in the editor */ +.wp-block-image, .wp-block-image > div { 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 b4ad479ad8..8f61bab00c 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-editor.css @@ -1127,6 +1127,7 @@ h6, } /* Center image block by default in the editor */ +.wp-block-image, .wp-block-image > div { 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 e4ed9d7a01..dcbf6d3511 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,5 +1,6 @@ /* Center image block by default in the editor */ +.wp-block-image, .wp-block-image > div { text-align: center; } diff --git a/wp-includes/version.php b/wp-includes/version.php index bb665f9844..5bed646d4a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52141'; +$wp_version = '5.9-alpha-52142'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.