--- a/wp/wp-admin/js/editor.js Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-admin/js/editor.js Wed Sep 21 18:19:35 2022 +0200
@@ -371,7 +371,7 @@
* Using DomQuery syntax to create it, since it's used as both text and as a DOM element.
*
* @param {Object} domLib DOM library instance.
- * @param {string} content The content to insert into the cusror marker element.
+ * @param {string} content The content to insert into the cursor marker element.
*/
function getCursorMarkerSpan( domLib, content ) {
return domLib( '<span>' ).css( {
@@ -1178,7 +1178,7 @@
}
if ( $ ) {
- $( document ).ready( init );
+ $( init );
} else if ( document.addEventListener ) {
document.addEventListener( 'DOMContentLoaded', init, false );
window.addEventListener( 'load', init, false );