[wp-trac] [WordPress Trac] #65260: Emoji detection script breaks the script modules import map in the Site Editor

WordPress Trac noreply at wordpress.org
Fri May 22 00:03:40 UTC 2026


#65260: Emoji detection script breaks the script modules import map in the Site
Editor
--------------------------------------+------------------------------
 Reporter:  wildworks                 |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Abilities API             |     Version:  6.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by westonruter):

 @wildworks I'm confused because when testing this I'm not actually seeing
 the emoji detection script being printed at all in the admin. My
 [comment:1 above suggestion] is invalid because r60902 failed to account
 for it running in the admin. I've opened #65310 to address this.

 So if the emoji detection script is failing to print in the admin, then it
 seems to be specific to how the Site Editor constructs it iframe to add
 the scripts from the frontend. I vaguely recall looking at this with
 @jonsurrell previously, for how scripts and styles from the frontend get
 added to the Site Editor iframe to maintain visual parity as much as
 possible. It seems that perhaps this isn't taking into account the `HEAD`
 vs footer distinction?

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


More information about the wp-trac mailing list