Spacer Tool for Editor.js
npm install @veryard/spacer
Spacer Tool for the Editor.js.
Get the package
``shell`
npm i --save-dev @veryard/spacer
Include module at your application
`javascript`
const Spacer = require('@veryard/spacer');
1. Upload folder dist from repositorydist/bundle.js
2. Add file to your page.
Add a new Tool to the tools property of the Editor.js initial config.
`javascript
var editor = EditorJS({
...
tools: {
...
spacer: Spacer,
}
...
});
`
This Tool has no config params
This Tool returns empty object.
`json``
{
"type" : "spacer",
"data" : {}
}