Twenty Fourteen: Correctly reflect text color changes in Pullquote block.

This changeset ensures text color changes on Pullquote block are reflected on both front-end and in the editor.

Props umesh84, audrasjb, sabernhardt, bgoewert, ruchirj, amitbarai013, robinwpdeveloper, shamayel007.
Fixes #56006.

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


git-svn-id: http://core.svn.wordpress.org/trunk@54761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-02-06 08:59:17 +00:00
parent b15e530828
commit 5c1f181c0a
3 changed files with 23 additions and 2 deletions

View File

@ -187,6 +187,15 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: none;
}
.wp-block-pullquote.has-text-color blockquote,
.wp-block-pullquote.has-background blockquote,
.has-background .wp-block-pullquote blockquote,
.wp-block-pullquote.has-text-color cite,
.has-background .wp-block-pullquote cite,
.has-text-color .wp-block-pullquote__citation {
color: inherit;
}
.wp-block-pullquote.alignleft {
margin-right: 1em;
}

View File

@ -364,10 +364,13 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Pullquote */
.wp-block-pullquote {
border: 0;
margin: 0;
}
.editor-styles-wrapper .wp-block-pullquote {
border: 0;
}
.wp-block-pullquote .wp-block-pullquote__citation {
color: #2b2b2b;
font-size: 16px;
@ -376,6 +379,15 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: none;
}
.wp-block-pullquote.has-text-color blockquote,
.wp-block-pullquote.has-background blockquote,
.has-background .wp-block-pullquote blockquote,
.wp-block-pullquote.has-text-color cite,
.has-background .wp-block-pullquote cite,
.has-text-color .wp-block-pullquote__citation {
color: inherit;
}
.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
font-size: 20px;

View File

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