From 5d96ddab101bbd28d4d353c3b38ce565c8bca376 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 6 Jun 2022 13:31:15 +0000 Subject: [PATCH] Twenty-Twenty: Improve Quote block style consistency between front and back-end. This changeset updates the `font-style` value of the Quote block in the block editor to ensure styles are consistent between the editor and the front-end. Props kajalgohel, iamjaydip, audrasjb, whaze, mukesh27. Fixes #55931. Built from https://develop.svn.wordpress.org/trunk@53470 git-svn-id: http://core.svn.wordpress.org/trunk@53059 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 4 ++++ .../themes/twentytwenty/assets/css/editor-style-block.css | 4 ++++ wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index e27e4afba8..041c0524d8 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -658,6 +658,10 @@ hr.wp-block-separator.is-style-dots::before { line-height: 1.25; } +.editor-styles-wrapper .wp-block-quote cite { + font-style: normal; +} + .editor-styles-wrapper .wp-block-quote p { color: inherit; font-weight: 400; diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 0d930c8b79..270035ce70 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -658,6 +658,10 @@ hr.wp-block-separator.is-style-dots::before { line-height: 1.25; } +.editor-styles-wrapper .wp-block-quote cite { + font-style: normal; +} + .editor-styles-wrapper .wp-block-quote p { color: inherit; font-weight: 400; diff --git a/wp-includes/version.php b/wp-includes/version.php index 908c1091ff..c36b17e9c5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53469'; +$wp_version = '6.1-alpha-53470'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.