Make WordPress Core

Ticket #56830: 56830.diff

File 56830.diff, 401 bytes (added by elifvish, 23 months ago)
  • src/js/_enqueues/lib/dialog.js

    diff --git a/src/js/_enqueues/lib/dialog.js b/src/js/_enqueues/lib/dialog.js
    index 327d8768b8..eb7af5e6e3 100644
    a b  
    1717                        this._super();
    1818
    1919                        // WebKit leaves focus in the TinyMCE editor unless we shift focus.
    20                         this.element.focus();
     20                        this.element._trigger('focus');
    2121                        this._trigger('refresh');
    2222                }
    2323        });