npm.io
1.4.2 • Published 2 years ago

@editorjs/delimiter

Licence
MIT
Version
1.4.2
Deps
1
Size
9 kB
Vulns
0
Weekly
0
Stars
50

Delimiter Tool for Editor.js

Delimiter Tool for the Editor.js.

Installation

Get the package

yarn add @editorjs/delimiter

Include module at your application

import Delimiter from '@editorjs/delimiter';

Optionally, you can load this tool from CDN JsDelivr CDN

Usage

Add a new Tool to the tools property of the Editor.js initial config.

var editor = EditorJS({
  ...

  tools: {
    ...
    delimiter: Delimiter,
  }

  ...
});

Config Params

This Tool has no config params

Output data

This Tool returns empty object.

{
    "type" : "delimiter",
    "data" : {}
}

Keywords