Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

editorjs-inline-spoiler-tool

miruz616ISC1.0.1

Inline spoiler tool for Codex Editor (Codex Team)

tool, spoiler, codex, gameru

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

  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