[wp-trac] [WordPress Trac] #64210: Block editor: Make fit text work with the interativity API
WordPress Trac
noreply at wordpress.org
Thu Nov 6 18:12:06 UTC 2025
#64210: Block editor: Make fit text work with the interativity API
------------------------------+-----------------------------
Reporter: jorgefilipecosta | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords: gutenberg-merge
Focuses: |
------------------------------+-----------------------------
Track backports: WordPress/gutenberg#72923
Fit text did not work after navigating to a page using the Interactivity
API router. When users navigated to a post via client-side navigation
(e.g., in a Query block with pagination), fit text blocks would not
recalculate their font sizes, appearing either too large or too small.
This occurred because the fit text initialization only ran on the
window.load event, which doesn't fire during client-side navigation.
We refactored fit text front end to be an interactivity api first
implementation, using an interactivity api init event instead of a window
load event.
This commit adds the required PHP changes.
We refactored fit text front end to be an interactivity api first
implementation, using an interactivity api init event instead of a window
load event.
This ticket tracks the required PHP changes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64210>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list