Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41158, comment 8


Ignore:
Timestamp:
07/02/2017 06:38:05 AM (7 years ago)
Author:
westonruter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41158, comment 8

    initial v1  
    1616 
    1717+               // Make sure TinyMCE dialogs appear above Customizer UI.
    18 +               $( document ).on( "wp-before-tinymce-init", function() {
     18+               $( document ).one( "wp-before-tinymce-init", function() {
    1919+                       if ( ! tinymce.ui.FloatPanel.zIndex || tinymce.ui.FloatPanel.zIndex < 500001 ) {
    2020+                               tinymce.ui.FloatPanel.zIndex = 500001;