Skip to content

Commit

Permalink
add domReady
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Dec 28, 2024
1 parent a21474f commit 00428cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/js/editor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import domReady from '@wordpress/dom-ready';

domReady(() => {
// DOM has been loaded
});

0 comments on commit 00428cf

Please sign in to comment.