[wp-trac] [WordPress Trac] #64124: Fix: Make block editor a script/module dual package so fit text loads on frontend.

WordPress Trac noreply at wordpress.org
Tue Oct 21 13:27:58 UTC 2025


#64124: Fix: Make block editor a script/module dual package so fit text loads on
frontend.
---------------------------------------+-----------------------
 Reporter:  jorgefilipecosta           |       Owner:  ellatrix
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  6.9
Component:  Editor                     |     Version:
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch  |     Focuses:
---------------------------------------+-----------------------
Changes (by ellatrix):

 * owner:  (none) => ellatrix
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61027" 61027]:
 {{{
 #!CommitTicketReference repository="" revision="61027"
 Block editor: make block-editor a script/module dual package.

 Fit text is a block support under `block-editor`, that needs assets on the
 front-end, so block editor now exposes `wpScriptModuleExports` and needs
 to be included in `SCRIPT_AND_MODULE_DUAL_PACKAGES`, in order for its
 script modules to be registered and loaded.

 See https://github.com/WordPress/wordpress-develop/pull/10373.

 Props jorgefilipecosta.
 Fixes #64124.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64124#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list