GrapesJS Call Save
This plugin call save templates
Summary
- Plugin name:
grapesjs-plugin-call-save
- Commands:
gjs-call-save
Options
Option | Description | Default |
---|---|---|
call |
Function call save | |
root |
Use the root object to data of call save (async functions are supported), eg. ` |
{
css: ed => ed.getCss(),
html: ed => ed.getHtml(),
}
|
{ ...check the source }` |
Download
- NPM
npm i grapesjs-plugin-call-save
- GIT
git clone https://github.com/NortonPerson/grapesjs-plugin-call-save.git
Usage
Directly in the browser
Modern javascript
;; const editor = grapesjs;
Development
Clone the repository
$ git clone https://github.com/NortonPerson/grapesjs-plugin-call-save.git$ cd grapesjs-plugin-call-save
Install it
$ npm i
Start the dev server
$ npm start
License
BSD 3-Clause