From 00428cf724ecb8b7f4b75d68ce3a7e7cbdb9cd94 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sat, 28 Dec 2024 13:17:17 -0500 Subject: [PATCH] add domReady --- resources/js/editor.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/js/editor.js b/resources/js/editor.js index e69de29bb2..e5b16e0dda 100644 --- a/resources/js/editor.js +++ b/resources/js/editor.js @@ -0,0 +1,5 @@ +import domReady from '@wordpress/dom-ready'; + +domReady(() => { + // DOM has been loaded +});