-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin-promoclock-enabled.patch
37 lines (36 loc) · 1.57 KB
/
plugin-promoclock-enabled.patch
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
diff --git a/src/index.js b/src/index.js
index 742a4e9..5fe957d 100644
--- a/src/index.js
+++ b/src/index.js
@@ -2,6 +2,7 @@ import grapesjs from 'grapesjs';
import pluginBlocks from 'grapesjs-blocks-basic';
import pluginNavbar from 'grapesjs-navbar';
import pluginCountdown from 'grapesjs-component-countdown';
+import pluginPromoclock from 'grapesjs-component-promoclock';
import pluginForms from 'grapesjs-plugin-forms';
import pluginExport from 'grapesjs-plugin-export';
import pluginAviary from 'grapesjs-aviary';
@@ -73,6 +74,8 @@ export default grapesjs.plugins.add('gjs-preset-webpage', (editor, opts = {}) =>
// By setting this option to `false` will avoid loading the plugin
countdownOpts: {},
+ promoclockOpts: {},
+
// `grapesjs-plugin-forms` plugin options
// By setting this option to `false` will avoid loading the plugin
formsOpts: {},
@@ -102,6 +105,7 @@ export default grapesjs.plugins.add('gjs-preset-webpage', (editor, opts = {}) =>
blocksBasicOpts,
navbarOpts,
countdownOpts,
+ promoclockOpts,
formsOpts,
exportOpts,
aviaryOpts,
@@ -112,6 +116,7 @@ export default grapesjs.plugins.add('gjs-preset-webpage', (editor, opts = {}) =>
blocksBasicOpts && pluginBlocks(editor, blocksBasicOpts);
navbarOpts && pluginNavbar(editor, navbarOpts);
countdownOpts && pluginCountdown(editor, countdownOpts);
+ promoclockOpts && pluginPromoclock(editor, promoclockOpts);
formsOpts && pluginForms(editor, formsOpts);
exportOpts && pluginExport(editor, exportOpts);
aviaryOpts && pluginAviary(editor, aviaryOpts);