[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
Thu Oct 30 19:50:31 UTC 2025


#64173: Block editor: [Fix] Don't load fit text front end scripts on the editor.
------------------------------+-----------------------------
 Reporter:  jorgefilipecosta  |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  6.9
Component:  General           |    Version:
 Severity:  normal            |   Keywords:  gutenberg-merge
  Focuses:                    |
------------------------------+-----------------------------
 Tracks the fix of 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 but
 still it's useless bytes we are sending.
 We are enqueuing using exactly the same pattern as in other blocks, like
 file. image, or form I suspect in some of theses cases the front end
 script is also loading on the editor when it is non needed, something we
 can try to improve after.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64173>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list