Button tool to create a Button link for the Editor.js.
Add a new Tool to the tools
property of the Editor.js initial config.
var editor = EditorJS({
...
tools: {
...
button: {
class: Button,
},
},
...
});
This Tool has no config params
{
"type" : "button",
"data" : {
"url": "https://yoururl.com",
"label": "Button Label",
"targetBlank": true
}
}