Skip to content

Conversation

@jorgefilipecosta
Copy link
Member

@jorgefilipecosta jorgefilipecosta commented Nov 13, 2025

Backports WordPress/gutenberg#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.

@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props jorgefilipecosta.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions
Copy link

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • The Plugin and Theme Directories cannot be accessed within Playground.
  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@jorgefilipecosta jorgefilipecosta force-pushed the fix/fit-text-font-size-issue-on-transform branch from bd5431f to efd4cc1 Compare November 13, 2025 22:31
pento pushed a commit that referenced this pull request Nov 14, 2025
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.

Developed in: #10517

Props jorgefilipecosta, mcsf, mrwweb.
Fixes #64254.

git-svn-id: https://develop.svn.wordpress.org/trunk@61246 602fd350-edb4-49c9-b593-d223f7449a82
@github-actions
Copy link

A commit was made that fixes the Trac ticket referenced in the description of this pull request.

SVN changeset: 61246
GitHub commit: 23f17ae

This PR will be closed, but please confirm the accuracy of this and reopen if there is more work to be done.

@github-actions github-actions bot closed this Nov 14, 2025
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Nov 14, 2025
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.

Developed in: WordPress/wordpress-develop#10517

Props jorgefilipecosta, mcsf, mrwweb.
Fixes #64254.
Built from https://develop.svn.wordpress.org/trunk@61246


git-svn-id: http://core.svn.wordpress.org/trunk@60558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
github-actions bot pushed a commit to gilzow/wordpress-performance that referenced this pull request Nov 14, 2025
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.

Developed in: WordPress/wordpress-develop#10517

Props jorgefilipecosta, mcsf, mrwweb.
Fixes #64254.
Built from https://develop.svn.wordpress.org/trunk@61246


git-svn-id: https://core.svn.wordpress.org/trunk@60558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
pento pushed a commit that referenced this pull request Nov 17, 2025
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.

Developed in: #10517.

Props jorgefilipecosta, mcsf, mrwweb, t-hamano.
Fixes #64254.

git-svn-id: https://develop.svn.wordpress.org/branches/6.9@61251 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Nov 17, 2025
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.

Developed in: WordPress/wordpress-develop#10517.

Props jorgefilipecosta, mcsf, mrwweb, t-hamano.
Fixes #64254.
Built from https://develop.svn.wordpress.org/branches/6.9@61251


git-svn-id: http://core.svn.wordpress.org/branches/6.9@60563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants