@groupher/editor-warning

1.0.15 • Public • Published

Warning Tool

Provides Code Blocks for the Editor.js.

image

Installation

Install via NPM

Get the package

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

Include module at your application

const Warning = require('@groupher/editor-warning');

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: {
    ...
    warning: Warning,
  },
  
  ...
});

Output data

Field Type Description
title string warning title
desc string warning desc
{
    "type" : "quote",
    "data" : {
        "title" : ""note",
        "desc" : "this is a warning"
    }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.150latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.150
1.0.140
1.0.130
1.0.120
1.0.111
1.0.100
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @groupher/editor-warning

Weekly Downloads

1

Version

1.0.15

License

MIT

Unpacked Size

32.5 kB

Total Files

8

Last publish

Collaborators

  • mydearxym