[wp-trac] [WordPress Trac] #28095: wpLink modal no longer triggers open event

WordPress Trac noreply at wordpress.org
Thu May 1 16:32:10 UTC 2014


#28095: wpLink modal no longer triggers open event
--------------------------+-----------------------------
 Reporter:  bradyvercher  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 With the move away from wpdialog in WP 3.9, the wpLink modal no longer
 triggers an 'open' event.

 I was using that event in a plugin to allow users to automatically search
 using text that was selected in the editor (a similar feature was proposed
 and reverted in #16276).

 Without the event, it's not possible to reliably determine when the wpLink
 modal is opened in order to interact with it. The attached patch adds a
 new event to maintain similar functionality with previous versions.

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


More information about the wp-trac mailing list