Opened 4 weeks ago
Closed 3 weeks ago
#64254 closed defect (bug) (fixed)
Fix: Custom font size taking over fit text
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Editor | Keywords: | has-patch dev-reviewed |
| Focuses: | Cc: |
Description
Currently we have an issue where if a paragraph/heading had a custom font size and then was converted to the stretchy variation. The custom font size on the front end is applied instead of fit text.
It was fixed in Gutenberg at https://github.com/WordPress/gutenberg/pull/73241, and this ticket tracks the fix in WordPress core.
Change History (7)
This ticket was mentioned in PR #10517 on WordPress/wordpress-develop by @jorgefilipecosta.
4 weeks ago
#1
#2
@
4 weeks ago
- Owner set to jorgefilipecosta
- Resolution set to fixed
- Status changed from new to closed
In 61246:
#3
@
4 weeks ago
- Keywords dev-feedback added
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for backport.
This ticket was mentioned in Slack in #core by wildworks. View the logs.
3 weeks ago
Note: See
TracTickets for help on using
tickets.
Backports https://github.com/WordPress/gutenberg/pull/73241 into the core.
Fixes an issue where if a paragraph/heading had a custom font size and then was conververted to the stretchy variation. The custom font size on the front end was applied instead of fit text.
cc: @mrwweb
Ticket: https://core.trac.wordpress.org/ticket/64254
## Testing
Insert Paragraph block
Type some text in it
Set a non-default font size for the Paragraph block
Switch the Paragraph to the fit text Paragraph variation
The front-end of the site should not use the font size setting selected in Step 3 and should instead show fit text working normally as in the editor.