Browse Source

Add tabs plugin

pull/2301/head
Artur Arseniev 9 years ago
parent
commit
ceaf23682b
  1. 8
      demo.html
  2. BIN
      img/tabs.gif
  3. 2
      js/grapesjs-tabs.min.js

8
demo.html

@ -18,6 +18,7 @@
<script src="js/grapes.min.js?v0.13.8"></script>
<script src="js/grapesjs-preset-webpage.min.js"></script>
<script src="js/grapesjs-lory-slider.min.js?0.1.5"></script>
<script src="js/grapesjs-tabs.min.js?0.1.1"></script>
<style type="text/css">
.icon-add-comp::before, .icon-comp100::before,.icon-comp50::before,.icon-comp30::before,.icon-rm::before{ content: '';}
@ -975,13 +976,18 @@
assets: images
},
styleManager: { clearProperties: 1 },
plugins: ['gjs-preset-webpage', 'grapesjs-lory-slider'],
plugins: ['gjs-preset-webpage', 'grapesjs-lory-slider', 'grapesjs-tabs'],
pluginsOpts: {
'grapesjs-lory-slider': {
sliderBlock: {
category: 'Extra'
}
},
'grapesjs-tabs': {
tabsBlock: {
category: 'Extra'
}
},
'gjs-preset-webpage': {
modalImportTitle: 'Import Template',
modalImportLabel: '<div style="margin-bottom: 10px; font-size: 13px;">Paste here your HTML/CSS and click Import</div>',

BIN
img/tabs.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

2
js/grapesjs-tabs.min.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save