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

WordPress Trac noreply at wordpress.org
Thu Jun 17 05:09:15 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:                |     Focuses:
--------------------------+-------------------------
Changes (by noisysocks):

 * owner:  (none) => noisysocks
 * status:  new => accepted


Comment:

 The problem is that the Text widget is calling `wp.editor.initialize()`
 and `wp.editor` refers to the `wp-editor` dependency, not the `editor`
 dependency which is available at `wp.oldEditor`.

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


More information about the wp-trac mailing list