editorjs-inline-spoiler-tool
v1.0.1
Published
Inline spoiler tool for Codex Editor (Codex Team)
Downloads
594
Readme
Inline Text Spoiler for Editor.js
This Tool for the Editor.js allows you to add inline text spoiler.
Installation
Get the package
npm i -D editorjs-inline-spoiler-tool
Include module at your application
const TextSpoiler = require('editorjs-inline-spoiler-tool');
or
import TextSpolier = from 'editorjs-inline-spoiler-tool';
Usage
Add a new Tool to the tools
property of the Editor.js initial config.
var editor = EditorJS({
...
tools: {
...
TextSpolier: TextSpolier,
}
...
});
Config Params
This Tool has no config params yet.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
1.0.0
- release
Credits
This plugin - Myroslav Aleksieiev
Editor.js - Codex Team