[wp-trac] [WordPress Trac] #31229: Using TinyMCE Editor Dropdown Menus inside Modals

WordPress Trac noreply at wordpress.org
Mon Jul 1 12:02:22 UTC 2019


#31229: Using TinyMCE Editor Dropdown Menus inside Modals
--------------------------+----------------------
 Reporter:  bryanaka      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  TinyMCE       |     Version:  4.1
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:  ui
--------------------------+----------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Unfortunately this is not easily fixable. The media modal is meant to be
 on top of all content on the screen, including the TinyMCE drop-downs
 (which are actually divs inserted from js at the bottom of the screen).
 Otherwise these drop-downs will be visible when the media modal is open.

 There is some code in the TinyMCE UI intended to detect the z-index of the
 editor container which seems to be working in most cases, but if it fails,
 it's not trivial to fix.

 This is somewhat superseded by the block editor. Closing as wontfix for
 now, please feel free to reopen with a patch to fix it for plugins that
 still use TinyMCE.

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


More information about the wp-trac mailing list