[wp-trac] [WordPress Trac] #64173: Block editor: [Fix] Don't load fit text front end scripts on the editor.
WordPress Trac
noreply at wordpress.org
Mon Nov 3 19:46:27 UTC 2025
#64173: Block editor: [Fix] Don't load fit text front end scripts on the editor.
---------------------------------------+-------------------------------
Reporter: jorgefilipecosta | Owner: jorgefilipecosta
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: gutenberg-merge has-patch | Focuses:
---------------------------------------+-------------------------------
Changes (by jorgefilipecosta):
* owner: (none) => jorgefilipecosta
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"61115" 61115]:
{{{
#!CommitTicketReference repository="" revision="61115"
Block editor: Don't load fit text frontend scripts on the editor.
This commit fixes an issue where the FitText frontend script (fit-text-
frontend.js) was incorrectly being enqueued and loaded in the block editor
when editing posts that contain blocks with the fitText attribute enabled.
It had no big impact has the script does not do anything on the editor
(the classes the script searches are not there) but still it's useless
bytes we are sending.
Developed in #10437.
Props jorgefilipecosta, oandregal.
Fixes #64173.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64173#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list