#62753 closed defect (bug) (fixed)
Twenty Twenty: Quote block font-weight inconsistency between editor and frontend
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.8 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Bundled Theme | Keywords: | has-patch has-testing-info commit |
Focuses: | ui, css | Cc: |
Description
There is an inconsistency in how the font-weight is applied to quote blocks ('.wp-block-quote p') in the Twenty Twenty theme.
- In the editor, the font-weight appears as '400', which does not match the font-weight displayed on the frontend.
- On the frontend, the font-weight inherits styles as expected, creating a mismatch between the two environments.
Steps to Reproduce:
- Activate the Twenty Twenty theme.
- Create a new post in the block editor.
- Add a Quote block and insert some text.
- Save the post and view it on the frontend.
- Compare the font-weight of the quote text in the editor with the frontend display.
This inconsistency can be easily observed by inspecting the styles applied to '.wp-block-quote p' in both environments.
Video: https://utfs.io/f/PL8E4NiPUWyO7ZZSqW9AWOSNT8iuxYqzcvCVIEKbQmF3njPo
Change History (8)
This ticket was mentioned in PR #8060 on WordPress/wordpress-develop by @sainathpoojary.
3 months ago
#1
- Keywords has-patch added
#2
@
3 months ago
Test Report
Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/8060
Environment
- WordPress: 6.8-alpha-59560
- PHP: 8.1.29
- Server: nginx/1.16.0
- Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.29)
- Browser: Chrome 131.0.0.0
- OS: macOS
- Theme: Twenty Twenty
Actual Results
- ✅ Issue resolved with patch.
Additional Notes
Hi @sainathpoojary Thank you for bringing this up I was able to reproduce the issue and the patch you have provided seems to solve the issue
Supplemental Artifacts
https://utfs.io/f/TnWMEUzoUd85XhAqp5vEgz7crZATPuva36tVnG2RhqCIN5HQ
#3
@
3 months ago
- Focuses css added
- Milestone changed from Awaiting Review to 6.8
- Summary changed from Twenty Twenty - Quote block font-weight inconsistency between editor and frontend to Twenty Twenty: Quote block font-weight inconsistency between editor and frontend
- Version trunk deleted
The 400
font weight was in editor styles since initial commit, but I do not find it necessary on the Quote paragraph (now or with older versions such as WordPress 5.0 and 5.3). I think the line could be removed instead of changing it to inherit
.
#4
@
3 months ago
Thank you for the suggestion @sabernhardt! I’ve removed the font-weight: inherit
. Please let me know if there’s anything else that needs attention.
#5
@
3 months ago
- Keywords has-testing-info added
## Test Report
### Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/8060
### Environment
- WordPress: 6.8-alpha-20250103.041139
- PHP: 7.4.31-dev
- Server: PHP.wasm
- Database: WP_SQLite_Translator (Server: 5.5 / Client: 3.40.1)
- Browser: Chrome 131.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.0
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
### Actual Results
- ✅ Issue resolved with patch.
#7
@
2 months ago
- Owner set to poena
- Resolution set to fixed
- Status changed from new to closed
In 59594:
@sainathpoojary commented on PR #8060:
3 weeks ago
#8
Merged in Changeset - 59594
This PR resolves a styling inconsistency for quote blocks between the editor and frontend in the Twenty Twenty theme.
Changes:
Video
https://github.com/user-attachments/assets/58c65b19-bb66-43f0-ac4a-0780fbb5439a
Trac ticket: #62753