Make WordPress Core

Opened 11 months ago

Last modified 11 months ago

#56899 new enhancement

Twenty Twenty-Three: Quote block's citation styling cannot be changed

Reported by: severinepozzo's profile severinepozzo Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.1
Component: Bundled Theme Keywords:
Focuses: css Cc:

Description

Summary
In the Quote block the citation has less flexibility to be styled than the quote. Used WP 6.1 RC2 to test.

Steps to reproduce

  1. Add a Quote block in a Post editor
  2. Try to change the Citation's font size, appearance and background

Expected results
The background, font size and appearance can be changed the same way the quote styling can be changed.

Actual Results
The citation styling stays the same while the quote styling changes.

https://www.screencast.com/t/ciwoJmlowm

Change History (6)

#1 @JeffPaul
11 months ago

@ndiego @annezazu assuming this is accurate, should this get opened upstream in GitHub?

#2 @sabernhardt
11 months ago

  • Component changed from General to Bundled Theme
  • Focuses css added; ui template removed
  • Summary changed from Twenty Twenty Three theme > Quote Block> Citation styling cannot be changed to Twenty Twenty-Three: Quote block's citation styling cannot be changed

Thanks for the report!

It comes from the theme.json:

	"cite": {
		"typography": {
			"fontSize": "var(--wp--preset--font-size--small)",
			"fontStyle": "normal"
		}
	}

That was added in PR 267.

#3 @annezazu
11 months ago

Just to follow up here, this is a theme.json only setting, meaning citations can't currently be customized in the UI: https://github.com/WordPress/gutenberg/issues/35735 This is part of overall work to improve customization and consistency of "elements": https://github.com/WordPress/gutenberg/issues/40966 The UI and controls for an end user are coming later on after theme.json support is ensured.

This ticket was mentioned in Slack in #core by desrosj. View the logs.


11 months ago

This ticket was mentioned in Slack in #core by bernhardreiter. View the logs.


11 months ago

#6 @ndiego
11 months ago

I have updated this issue upstream with additional details from the Trac ticket: https://github.com/WordPress/gutenberg/issues/40922

Note: See TracTickets for help on using tickets.