From 5c1f181c0a8b11ca753d8da5c722189fdf77a2cc Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 6 Feb 2023 08:59:17 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyfourteen/css/blocks.css | 9 +++++++++ .../themes/twentyfourteen/css/editor-blocks.css | 14 +++++++++++++- wp-includes/version.php | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyfourteen/css/blocks.css b/wp-content/themes/twentyfourteen/css/blocks.css index 6d04a59f41..54db8efad0 100644 --- a/wp-content/themes/twentyfourteen/css/blocks.css +++ b/wp-content/themes/twentyfourteen/css/blocks.css @@ -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; } diff --git a/wp-content/themes/twentyfourteen/css/editor-blocks.css b/wp-content/themes/twentyfourteen/css/editor-blocks.css index e611e16bb4..bee982dd9e 100644 --- a/wp-content/themes/twentyfourteen/css/editor-blocks.css +++ b/wp-content/themes/twentyfourteen/css/editor-blocks.css @@ -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; diff --git a/wp-includes/version.php b/wp-includes/version.php index 020cc8a3f5..6b7b26f060 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.