[wp-trac] [WordPress Trac] #53437: Widgets Screen: wp.editor.initialize is not a function notice

WordPress Trac noreply at wordpress.org
Thu Jun 17 06:09:11 UTC 2021


#53437: Widgets Screen: wp.editor.initialize is not a function notice
--------------------------+-------------------------
 Reporter:  noisysocks    |       Owner:  noisysocks
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  5.8
Component:  Widgets       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-------------------------

Comment (by noisysocks):

 Looking at the source for `@wordpress/block-library`, it might be safe to
 remove `@wordpress/editor` as a dependency altogether because the classic
 block doesn't use it if `wp.oldEditor` is undefined. Maybe that's a better
 option.

 https://github.com/WordPress/gutenberg/blob/271d711908ab6883ad5a107372f5e9cfc750b7a2/packages
 /block-library/src/index.js#L145

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


More information about the wp-trac mailing list