Horizontal rule Tool for Editor.js
npm install @ignweb/hr-toolshell
npm i --save-dev @ignweb/hr-tool
`
Include module at your application
`javascript
const Hr = require("@ignweb/hr-tool");
`
$3
1. Upload folder dist from repository
2. Add dist/bundle.js file to your page.
Usage
Add a new Tool to the tools property of the Editor.js initial config.
`javascript
var editor = EditorJS({
...
tools: {
...
hr: Hr,
}
...
});
`
Config Params
This Tool has no config params
Output data
This Tool returns empty object.
`json
{
"type": "hr",
"data": {}
}
``