[wp-trac] [WordPress Trac] #36662: WpLink stopped working in bootstrap modals.

WordPress Trac noreply at wordpress.org
Mon Apr 25 16:37:57 UTC 2016


#36662: WpLink stopped working in bootstrap modals.
--------------------------+------------------------------
 Reporter:  jackreichert  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+------------------------------
Changes (by swissspidy):

 * focuses:  javascript, administration => javascript


Old description:

> Since updating to 4.5 wplink won't work on a page that has 'modal-open'
> on the body. This class is added by bootstrap modals plugin
> (https://github.com//twbs/bootstrap/blob/master/js/modal.js#L63).
>
> This was introduced in revision 36677 on line 390
> (https://core.trac.wordpress.org/browser/trunk/src/wp-
> includes/js/tinymce/plugins/wplink/plugin.js?rev=36677#L390). It was
> unclear to me from the commit message why it was added.

New description:

 Since updating to 4.5 wplink won't work on a page that has 'modal-open' on
 the body. This class is added by bootstrap modals plugin
 (https://github.com//twbs/bootstrap/blob/master/js/modal.js#L63).

 This was introduced in revision [36677] on line 390
 (https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/js/tinymce/plugins/wplink/plugin.js?rev=36677#L390). It was
 unclear to me from the commit message why it was added.

--

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


More information about the wp-trac mailing list