-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When the “Fit text” toggle is enabled for the Stretchy Paragraph or Stretchy Heading block, adjusting the Font Size (S, M, L, XL, XXL) under the Typography settings has no visible effect on the text.
This behavior is understandable since Fit text dynamically scales text to fit its container. However, keeping the font size options active may create confusion, as users might assume the control is not working.
Step-by-step reproduction instructions
- Add a Stretchy Paragraph or Stretchy Heading block.
- Open the Block settings → Typography panel.
- Enable the Fit text toggle.
- Attempt to change the Font Size value (e.g., from S to XXL).
- Observe that the text size remains unchanged.
Screenshots, screen recording, code snippet
Stretchy.block.issue.mov
Environment info
Tested this with #71904 using the playground link.
- WordPress: 6.8.3
- PHP: 8.3.25-dev
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 5.5 / Client: 3.40.1)
- Browser: Chrome 141.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.3
- MU Plugins: None activated
- Plugins:
- Gutenberg 21.8.0-rc.1
- Test Reports 1.2.0
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Projects
Status
✅ Done