Get the package
yarn add @spandigital/presidium-wysiwyg-thematic-break
Add a new Tool to the tools
property of the Editor.js initial config.
var editor = EditorJS({
...
tools: {
...
thematic: ThematicBreak
}
...
});
This Tool has no config params
This Tool returns empty object.
{
"type" : "thematic",
"data" : {}
}
To release a new non-beta version, do the following:
- Merge your changes into
master
- Increment the version in
package.json
(The release GitHub action will not run unless this is done) - run
npm i
- Commit and push
The package will then be published to the @spandigital registry.
Beta packages are automatically published whenever a commit is pushed to the develop
branch.