This preset configures GrapesJS to be used with some unique features and blocks for the Ostendis E-Recruiting system
TODO
Download using one of the options:
npm i grapesjs-preset-ostendis
- Latest release link https://github.com/ostendisorg/grapesjs-preset-ostendis/releases
<link href="path/to/grapes.min.css" rel="stylesheet"/>
<link href="path/to/grapesjs-preset-ostendis.css" rel="stylesheet"/>
<script src="path/to/grapes.min.js"></script>
<script src="path/to/grapesjs-preset-ostendis.min.js"></script>
<div id="gjs"></div>
<script type="text/javascript">
var editor = grapesjs.init({
container : '#gjs',
plugins: ['gjs-preset-ostendis'],
pluginsOpts: {
'gjs-preset-ostendis': {
modalTitleImport: 'Import template',
// ... other options
}
}
});
</script>
Clone the repository
$ git clone https://github.com/DNUbyOstendis/grapesjs-preset-ostendis.git
$ cd grapesjs-preset-ostendis
Install dependencies
$ npm i
The plugin relies on GrapesJS via peerDependencies
, so you have to install it manually (without adding it to package.json)
$ npm i grapesjs --no-save
Start the dev server
$ npm start
To install publishing dependency
$ npm install --global np
Publish the package
$ npm run release
ONLY workes with package: https://www.npmjs.com/package/np
BSD 3-Clause
Based on: GrapesJS Newsletter Preset Copyright (c) 2016, Artur Arseniev All rights reserved.