[wp-trac] [WordPress Trac] #27226: Insert from URL fails when used via Plugin, because of missing quicktags javascript

WordPress Trac noreply at wordpress.org
Fri Feb 28 00:15:00 UTC 2014


#27226: Insert from URL fails when used via Plugin, because of missing quicktags
javascript
--------------------------+-----------------------------
 Reporter:  rhurling      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 See https://github.com/avryl/wp-front-end-editor/issues/34
 and http://make.wordpress.org/ui/2014/02/27/front-end-editor-usability-
 test-1/#comment-24307

 Reproduce:
 1. Enqueue media scripts with wp_enqueue_media
 2. Add necessary Markup
 3. Try to add Image via "Insert from URL"

 Solution:
 Enqueue quicktags in wp_enqueu_media or add as dependency to media-editor
 script

 Notes:
 I guess it went unnoticed most of the time because there's always the
 TinyMCE Editor somewhere on the page, which (i think) enqueues quicktags

 Maybe related to #23591, although i'm not so sure about that

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27226>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list