forked from GrapesJS/components-countdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (36 loc) · 1.02 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GrapesJS Plugin</title>
<link rel="stylesheet" href="./node_modules/grapesjs/dist/css/grapes.min.css">
<script src="./node_modules/jquery/dist/jquery.min.js"></script>
<!-- <script src="./node_modules/grapesjs/dist/grapes.min.js"></script> -->
<script src="private/grapes.min.js"></script>
<script src="dist/grapesjs-component-countdown.min.js"></script>
<style>
body, html {
height: 100%;
margin: 0;
}
</style>
</head>
<body>
<div id="gjs" style="height:0px; overflow:hidden">
</div>
<script type="text/javascript">
var editor = grapesjs.init({
height: '100%',
noticeOnUnload: 0,
storageManager:{autoload: 0},
container : '#gjs',
fromElement: true,
plugins: ['gjs-component-countdown'],
pluginsOpts: {
'gjs-component-countdown': {}
}
});
window.editor = editor;
</script>
</body>
</html>