Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/artf/grapesjs-cli into up…
Browse files Browse the repository at this point in the history
…grade
  • Loading branch information
artf committed Jun 6, 2023
2 parents 6fe9699 + 0fc1503 commit a850e2c
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@


<script type="text/javascript">
window.editor = grapesjs.init({
height: '100%',
container: '#gjs',
showOffsets: 1,
noticeOnUnload: 0,
storageManager: false,
fromElement: true,
plugins: ['<%= name %>'],
});
window.onload = () => {
window.editor = grapesjs.init({
height: '100%',
container: '#gjs',
showOffsets: 1,
noticeOnUnload: 0,
storageManager: false,
fromElement: true,
plugins: ['<%= name %>'],
});
}
</script>
</body>
</html>

0 comments on commit a850e2c

Please sign in to comment.