wp/wp-includes/js/wpdialog.js
changeset 21 48c4eec2b7e6
parent 9 177826044cd9
--- a/wp/wp-includes/js/wpdialog.js	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/js/wpdialog.js	Fri Sep 05 18:40:08 2025 +0200
@@ -17,7 +17,7 @@
 			this._super();
 
 			// WebKit leaves focus in the TinyMCE editor unless we shift focus.
-			this.element.focus();
+			this.element.trigger('focus');
 			this._trigger('refresh');
 		}
 	});