grapesjs-preset-ostendis

1.19.10 • Public • Published

GrapesJS Ostendis Preset

This preset configures GrapesJS to be used with some unique features and blocks for the Ostendis E-Recrui­ting sys­tem

Summary

TODO

Download

Download using one of the options:

Usage

<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>

Development

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

Release

To install publishing dependency

$ npm install --global np

Publish the package

$ npm run release

ONLY workes with package: https://www.npmjs.com/package/np

License

BSD 3-Clause

Based on: GrapesJS Newsletter Preset Copyright (c) 2016, Artur Arseniev All rights reserved.

Package Sidebar

Install

npm i grapesjs-preset-ostendis

Weekly Downloads

2

Version

1.19.10

License

BSD-3-Clause

Unpacked Size

633 kB

Total Files

39

Last publish

Collaborators

  • andykramer
  • ost_dnu
  • martinostendis