Twenty Twenty: Fixes pullquote block font size not changing.

The pullquote block was not reflecting the size changes. This also accounts for letter spacing in the editor.

Props kmadhak, SergeyBiryukov, nidhidhandhukiya, harshvaishnav, sabernhardt, shailu25.
Fixes #55975.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-08-17 20:12:09 +00:00
parent 8ea2151eec
commit 4267b760ef
5 changed files with 35 additions and 1 deletions

View File

@ -872,6 +872,10 @@ hr.wp-block-separator.is-style-dots::before {
transform: translateY(-50%); transform: translateY(-50%);
} }
.editor-styles-wrapper .wp-block-pullquote[style*="letter-spacing"] p {
letter-spacing: inherit;
}
.editor-styles-wrapper .wp-block-pullquote__citation, .editor-styles-wrapper .wp-block-pullquote__citation,
.editor-styles-wrapper .wp-block-pullquote cite, .editor-styles-wrapper .wp-block-pullquote cite,
.editor-styles-wrapper .wp-block-pullquote footer { .editor-styles-wrapper .wp-block-pullquote footer {

View File

@ -876,6 +876,10 @@ hr.wp-block-separator.is-style-dots::before {
transform: translateY(-50%); transform: translateY(-50%);
} }
.editor-styles-wrapper .wp-block-pullquote[style*="letter-spacing"] p {
letter-spacing: inherit;
}
.editor-styles-wrapper .wp-block-pullquote__citation, .editor-styles-wrapper .wp-block-pullquote__citation,
.editor-styles-wrapper .wp-block-pullquote cite, .editor-styles-wrapper .wp-block-pullquote cite,
.editor-styles-wrapper .wp-block-pullquote footer { .editor-styles-wrapper .wp-block-pullquote footer {

View File

@ -3295,6 +3295,19 @@ figure.wp-block-gallery.alignfull {
margin-left: 0; margin-left: 0;
} }
.wp-block-pullquote[class*="-font-size"] p,
.wp-block-pullquote[style*="font-size"] p {
font-size: inherit;
}
.wp-block-pullquote[style*="font-weight"] p {
font-weight: inherit;
}
.wp-block-pullquote[style*="letter-spacing"] p {
letter-spacing: inherit;
}
/* STYLE: SOLID BACKGROUND COLOR */ /* STYLE: SOLID BACKGROUND COLOR */
.wp-block-pullquote.is-style-solid-color { .wp-block-pullquote.is-style-solid-color {

View File

@ -3315,6 +3315,19 @@ figure.wp-block-gallery.alignfull {
margin-right: 0; margin-right: 0;
} }
.wp-block-pullquote[class*="-font-size"] p,
.wp-block-pullquote[style*="font-size"] p {
font-size: inherit;
}
.wp-block-pullquote[style*="font-weight"] p {
font-weight: inherit;
}
.wp-block-pullquote[style*="letter-spacing"] p {
letter-spacing: inherit;
}
/* STYLE: SOLID BACKGROUND COLOR */ /* STYLE: SOLID BACKGROUND COLOR */
.wp-block-pullquote.is-style-solid-color { .wp-block-pullquote.is-style-solid-color {

View File

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