editorjs_delimiter

1.0.2 • Public • Published

Delimiter Tool for Editor.js (Hr tag Version)

Delimiter Tool for the Editor.js.

This tool is a modification of the @editorjs/delimiter library that replaces the asterisk separators in the original library with horizontal lines.

Installation

Install via NPM

Get the package

npm i --save-dev editorjs_delimiter

Include module at your application

const Delimiter = require('editorjs_delimiter');

Download to your project's source dir

  1. Upload folder dist from repository
  2. Add dist/bundle.js file to your page.

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" : {}
}

Package Sidebar

Install

npm i editorjs_delimiter

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

13.2 kB

Total Files

5

Last publish

Collaborators

  • arthur0917