1.2.0 • Published 7 months ago

@ostendis/grapesjs-preset-ostendis-simple v1.2.0

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
7 months ago

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

Directly in the browser

<link href="path/to/grapes.min.css" rel="stylesheet" />
<link href="path/to/grapesjs-preset-ostendis-simple.css" rel="stylesheet" />

<script src="path/to/grapes.min.js"></script>
<script src="path/to/grapesjs-preset-ostendis-simple.min.js"></script>

<div id="gjs"></div>

<script type="text/javascript">
  var editor = grapesjs.init({
    container: "#gjs",
    plugins: ["grapesjs-preset-ostendis-simple"],
    pluginsOpts: {
      "grapesjs-preset-ostendis-simple": {
        // options
      },
    },
  });
</script>

Modern javascript

import grapesjs from 'grapesjs';
import plugin from 'grapesjs-preset-ostendis-simple';

const editor = grapesjs.init({
  container : '#gjs',
  // ...
  plugins: [plugin],
  pluginsOpts: {
    [plugin]: { /* options */ }
  }
  // or
  plugins: [
    editor => plugin(editor, { /* options */ }),
  ],
});

Development

Clone the repository

$ git clone https://github.com/ostendisorg/grapesjs-preset-ostendis-simple.git
$ cd grapesjs-preset-ostendis

Install dependencies

$ npm i

Start the dev server

$ npm start

Build before the commit. This will also increase the patch level version of the package

$ npm run build

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.

1.2.0

7 months ago

1.1.11

8 months ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.2

1 year ago