[wp-trac] [WordPress Trac] #36662: WpLink stopped working in bootstrap modals.
WordPress Trac
noreply at wordpress.org
Mon Apr 25 20:03:21 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):
Yes, `document.elementFromPoint()` should work but we will have to account
for all cases like inline editor, a "real" iframe with an iframe editor in
it, etc. As TinyMCE is very easy to customize, detecting all cases can be
somewhat tricky.
Alternatively can set a flag only for the wpLink modal. Seems this would
cover it for now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36662#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list