Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#56899 closed enhancement (wontfix)

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

Reported by: severinepozzo Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version: 6.1
Severity: normal Keywords: close
Cc: Focuses: css

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
4 years ago

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

#2 @sabernhardt
4 years ago

  • Component General → Bundled Theme
  • Focuses css added; ui template removed
  • Summary Twenty Twenty Three theme > Quote Block> Citation styling cannot be changed → 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
4 years 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.


4 years ago

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


4 years ago

#6 @ndiego
4 years ago

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

#7 @karmatosed
3 years 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
3 years ago

  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → closed

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

Note: See TracTickets for help on using tickets.