[wp-trac] [WordPress Trac] #28921: link button remains disabled when using wp_editor in front end since r29183

WordPress Trac noreply at wordpress.org
Wed Jul 16 17:26:17 UTC 2014


#28921: link button remains disabled when using wp_editor in front end since r29183
--------------------------+------------------------------
 Reporter:  imath         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by azaozz):

 Ah, I see where this is coming from: if the "media" is not loaded the
 wpview plugin returns early and doesn't expose any methods. We can check
 if `editor.plugins.wpview.getView` exists but probably better to have a
 `noop()` for it.

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


More information about the wp-trac mailing list