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

WordPress Trac noreply at wordpress.org
Thu May 28 14:42:26 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:  7.1
Component:  Script Loader                           |     Version:  6.9
 Severity:  normal                                  |  Resolution:
 Keywords:  has-patch has-unit-tests needs-testing  |     Focuses:
----------------------------------------------------+---------------------

Comment (by jonsurrell):

 Replying to [comment:12 wildworks]:
 > It seems that the Abilities API is not imported at all. Is this the
 correct state?

 I believe with no plugins, `@wordpress/abilities` is not included in the
 importmap on the site editor. When I activate either a recent Gutenberg
 build (from `trunk`) or the AI plugin (enabled and configured), then the
 module is available on the site editor and I'm able to run `await
 import('@wordpress/abilities')` in the console without error.

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


More information about the wp-trac mailing list