Skip to content

Commit f85169e

Browse files
committed
Up index.html
1 parent a0dfc31 commit f85169e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656

5757
<script type="text/javascript">
58-
setTimeout(() => {
58+
window.onload = () => {
5959
window.editor = grapesjs.init({
6060
height: '100%',
6161
noticeOnUnload: false,
@@ -68,7 +68,7 @@
6868
'grapesjs-plugin-forms': {}
6969
}
7070
});
71-
});
71+
};
7272
</script>
7373
</body>
7474
</html>

0 commit comments

Comments
 (0)