1.0.1 • Published 5 years ago

editorjs-inline-spoiler-tool v1.0.1

Weekly downloads
6
License
ISC
Repository
-
Last release
5 years ago

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

1.0.0 - release

Credits

This plugin - Myroslav Aleksieiev

Editor.js - Codex Team