[wp-trac] [WordPress Trac] #43984: Customize: JavaScript error when opening Text widget

WordPress Trac noreply at wordpress.org
Tue May 8 20:50:40 UTC 2018


#43984: Customize: JavaScript error when opening Text widget
-----------------------------------+------------------------------
 Reporter:  dlh                    |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Customize              |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------

Comment (by azaozz):

 Replying to [comment:2 subrataemfluence]:
 > However, I believe why `window.tinymce.ui.FloatPanel` is showing
 `undefined` is more likely to be the area to inspect.

 Right, seems the `wp-before-tinymce-init` event fires too early. Switching
 to `tinymce-editor-setup` (fired when the `wordpress` plugin starts to
 load) fixes it.

 Going to commit this for easier testing, also pinging @westonruter to have
 a look if possible.

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


More information about the wp-trac mailing list