New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@groupher/editor-collapse

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@groupher/editor-collapse

collapse Tool for Editor.js

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

Collapse Tool for Editor.js

Collapse Tool for the Editor.js.

collapse-demo

Installation

Install via NPM

Get the package

npm i --save-dev @groupher/editor-collapse

Include module at your application

const Collapse = require('@groupher/editor-collapse');

Download to your project's source dir

  • Upload folder dist from repository
  • 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: {
    ...
    collapse: Collapse,
  }
  
  ...
});

Config Params

This Tool has no config params

Output data

This Tool returns data object.

{
    "type" : "collapse",
    "data" : {
      title: "",
      content: "",
    }
}

Keywords

codex editor

FAQs

Package last updated on 17 Sep 2021

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