0.1.1 • Published 5 years ago

fluent-grapesjs v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Fluent-GrapesJS

Fluent connector for GrapesJS custom storage.

Allows to auto-save and load data from Form.io with FastJS and Fluent in a straightforward way: just add the connector to Grapes!

Installing

To install this package for your GrapesJS project, simply use the next command on your local terminal.

npm install --save fluent-grapesjs

Usage

To use, simply import the package in your file, add to your GrapesJS init and pass the page ID to the plugin options.

import grapesjs from 'grapesjs';
import FluentGrapes from 'fluent-grapesjs';

const editor = grapesjs.init({
  ...
  plugins: [FluentGrapes],
  pluginsOpts: {
    [FluentGrapes]: {
      pageId: ID
    }
  },
  storageManager: { type: 'fluent-grapesjs' }
});
0.1.1

5 years ago

0.1.0

5 years ago