Socket
Book a DemoInstallSign in
Socket

@szh-editor/delimiter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@szh-editor/delimiter

Delimiter Tool for Editor.js

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Delimiter Tool for Editor.js

Delimiter Tool for the Editor.js.

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

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

Load from CDN

You can load specific version of package from jsDelivr CDN.

https://cdn.jsdelivr.net/npm/@editorjs/delimiter@1.0.1

Require this script on a page with Editor.js.

<script src="..."></script>

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

codex editor

FAQs

Package last updated on 07 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts