[wp-trac] [WordPress Trac] #64360: enqueue_block_assets action ignores script modules

WordPress Trac noreply at wordpress.org
Mon Jan 26 16:35:24 UTC 2026


#64360: enqueue_block_assets action ignores script modules
-------------------------+------------------------------
 Reporter:  jonsurrell   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+------------------------------

Comment (by jonsurrell):

 @ellatrix I'd like to get your thoughts on this. The editor iframe and
 script modules are incompatible right now. Have you run into or considered
 this at all?

 I've done some work to capture script modules for inclusion in the editor:

 > I've have a functional implementation in https://github.com/WordPress
 /wordpress-develop/pull/10597 and
 https://github.com/WordPress/gutenberg/pull/73765.

 @westonruter had [https://github.com/WordPress/wordpress-
 develop/pull/10597#discussion_r2612363191 some good feedback about a more
 general way to inject some HTML into the editor.]

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


More information about the wp-trac mailing list