Twenty Twenty: "Add citation" text font-weight issue in Quote block #8997
+16
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In Twenty Twenty Theme, when italic formatting is applied to citation text in the Quote block's "Add citation" field, the editor and frontend display different font-weight styles. While the editor shows the italic text with normal font-weight, the frontend displays it with bolder font-weight, creating an inconsistency in the visual representation. The inconsistency also exist with bold font styles.
Steps to replicate:
Expected behavior: Editor should match frontend styling for italic citations
Solution: Added CSS rule to ensure italic citations display with bolder font-weight in the editor, matching the frontend appearance.
Trac ticket: #55934
**This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more