Simple tabs component plugin for GrapesJS
- GrapesJS v0.13.8 or higher
- Plugin name:
grapesjs-tabs - Components
tabs- Main tabs componenttab-container- Component which contains single tabstab- Single tab componenttab-content- Tab's contenttab-contents- Component containing tab contents
- Blocks
tabs
You can see all the available options here.
- CDN
https://unpkg.com/grapesjs-tabs
- NPM
npm i grapesjs-tabs
- GIT
git clone https://github.com/artf/grapesjs-tabs.git
<linkhref="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet" /><scriptsrc="https://unpkg.com/grapesjs"></script><scriptsrc="path/to/grapesjs-tabs.min.js"></script><divid="gjs"></div><scripttype="text/javascript">vareditor=grapesjs.init({container : '#gjs',
...
plugins: ['grapesjs-tabs'],pluginsOpts: {'grapesjs-tabs': {// options}}});</script>Clone the repository
$ git clone https://github.com/artf/grapesjs-tabs.git
$ cd grapesjs-tabsInstall dependencies
$ npm iStart the development server
$ npm startBSD 3-Clause
