Plugin Grapesjs with Twitter Bootstrap v3.3.7
- Clone this repository
git clone https://github.com/olivmonnier/grapesjs-plugin-bootstrap.git - Replace in all files
grapesjs-plugin-bootstrapwith your plugin name - Update
package.json - Install dependencies
npm iand run the local servernpm start - Start creating your plugin from
src/index.js - Show some gif/demo if possible
- Update README
- When you're ready update the production file
npm run build - Publish
- Plugin name:
grapesjs-plugin-bootstrap - Components
alertcontainerdropdowngridlabelmediapanelthumbnailwell
- Blocks
addressblockquotebuttonheaderimagelinklistparagraphalertdropdownmediapanelthumbnailwellcontainerrowcolumncolumns-2columns-3columns-4columns-4-8columns-8-4...
- GIT
git clone https://github.com/olivmonnier/grapesjs-plugin-bootstrap.git
<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="dist/grapesjs-plugin-bootstrap.min.js"></script>
<div id="gjs"></div>
<script type="text/javascript">
var editor = grapesjs.init({
container : '#gjs',
...
plugins: ['grapesjs-plugin-bootstrap'],
pluginsOpts: {
'grapesjs-plugin-bootstrap': {
// options
}
}
});
</script>Clone the repository
$ git clone https://github.com/olivmonnier/grapesjs-plugin-bootstrap.git
$ cd grapesjs-plugin-bootstrapInstall dependencies
$ npm iStart the dev server
$ npm startBSD 3-Clause