Make WordPress Core

Opened 18 months ago

Closed 2 weeks ago

#56899 closed enhancement (wontfix)

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

Reported by: severinepozzo's profile severinepozzo Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.1
Component: Bundled Theme Keywords: close
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 (8)

#1 @JeffPaul
18 months ago

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

#2 @sabernhardt
18 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
18 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.


18 months ago

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


18 months ago

#6 @ndiego
18 months ago

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

#7 @karmatosed
3 weeks ago

  • Keywords close added

Reading back over this, it is my understanding that the resolution would be within the block itself not the theme. I therefore recommend to close this for now. Thank you everyone for your collaboration and if alternative opinions come up we can always reconsider this approach.

#8 @karmatosed
2 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

For now I am going to close this as suggested, thank you.

Note: See TracTickets for help on using tickets.