Skip to content

Commit 5e05832

Browse files
committed
Up index.html
1 parent cf69dc8 commit 5e05832

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
<script type="text/javascript">
27-
setTimeout(() => {
27+
window.onload = () => {
2828
window.editor = grapesjs.init({
2929
height: '100%',
3030
showOffsets: true,
@@ -36,7 +36,7 @@
3636

3737
plugins: ['grapesjs-custom-code'],
3838
});
39-
})
39+
};
4040
</script>
4141
</body>
4242
</html>

0 commit comments

Comments
 (0)