Twenty Twenty: Improve support for Post Title block alignment.

This changeset ensures alignement settings are correctly reflected for the Post Title block in the Editor.

Props smit08, kajalgohel, devtanbir, sabernhardt, audrasjb.
Fixes #56167.

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


git-svn-id: http://core.svn.wordpress.org/trunk@53700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-09-13 08:47:12 +00:00
parent fd3e5e5f21
commit b089b1d99c
3 changed files with 21 additions and 1 deletions

View File

@ -306,6 +306,14 @@ Inter variable font. Usage:
text-align: center;
}
.editor-styles-wrapper .wp-block-post-title.has-text-align-left {
text-align: left;
}
.editor-styles-wrapper .wp-block-post-title.has-text-align-right {
text-align: right;
}
/* DROP CAP */
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {

View File

@ -306,6 +306,18 @@ Inter variable font. Usage:
text-align: center;
}
.editor-styles-wrapper .wp-block-post-title.has-text-align-left {
/*rtl:ignore*/
text-align: left;
}
.editor-styles-wrapper .wp-block-post-title.has-text-align-right {
/*rtl:ignore*/
text-align: right;
}
/* DROP CAP */
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-54140';
$wp_version = '6.1-alpha-54141';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.