Opened 23 months ago
Closed 5 months ago
#56899 closed enhancement (wontfix)
Twenty Twenty-Three: Quote block's citation styling cannot be changed
Reported by: | 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
- Add a Quote block in a Post editor
- 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.
Change History (8)
#2
@
23 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
@
23 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.
23 months ago
This ticket was mentioned in Slack in #core by bernhardreiter. View the logs.
23 months ago
#6
@
23 months ago
I have updated this issue upstream with additional details from the Trac ticket: https://github.com/WordPress/gutenberg/issues/40922
#7
@
5 months 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.
@ndiego @annezazu assuming this is accurate, should this get opened upstream in GitHub?