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

WordPress Trac noreply at wordpress.org
Mon Apr 25 17:50:05 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
--------------------------+------------------------------

Comment (by azaozz):

 This was added to prevent the inline link toolbar opening while a modal is
 shown or showing over open modals. There are cases when a modal would
 focus the editor that's under it, and as we show the inline toolbar on
 editor focus, it would open.

 Will have to change this behaviour (although it seems logical) or find
 another way to detect when the editor is actually visible and accessible
 and when it is under a modal (if that is at all possible).

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


More information about the wp-trac mailing list