Skip to content

Commit

Permalink
Up index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Oct 7, 2023
1 parent 7da2678 commit 6202369
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,12 @@ <h1 style="font-size: 3rem">Gradient</h1>
</div>
</div>
<script>
setTimeout(function() {
console.log('plugin', window['grapesjs-style-gradient'])
window.onload = () => {
window.editor = grapesjs.init({
fromElement: 1,
fromElement: true,
container: '#gjs',
height: '100%',
storageManager: { autoload: 0 },
storageManager: false,
plugins: ['grapesjs-style-gradient'],
pluginsOpts: {
'grapesjs-style-gradient': {
Expand All @@ -78,7 +77,7 @@ <h1 style="font-size: 3rem">Gradient</h1>
type: 'gradient',
defaults: 'none'
});
},10)
};
</script>
</body>
</html>

0 comments on commit 6202369

Please sign in to comment.