Inline spoiler tool for Codex Editor (Codex Team)
npm install editorjs-inline-spoiler-tool
``npm i -D editorjs-inline-spoiler-tool`
Include module at your application
`javascript`
const TextSpoiler = require('editorjs-inline-spoiler-tool');`
orjavascript`
import TextSpolier = from 'editorjs-inline-spoiler-tool';
Add a new Tool to the tools property of the Editor.js initial config.
`javascript`
var editor = EditorJS({
...
tools: {
...
TextSpolier: TextSpolier,
}
...
});
This Tool has no config params yet.
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature
4. Push to the branch:
5. Submit a pull request :D
1.0.0` - release
This plugin - Myroslav Aleksieiev
Editor.js - Codex Team