1.0.15 • Published 5 years ago

@groupher/editor-warning v1.0.15

Weekly downloads
12
License
MIT
Repository
github
Last release
5 years ago

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

FieldTypeDescription
titlestringwarning title
descstringwarning desc
{
    "type" : "quote",
    "data" : {
        "title" : ""note",
        "desc" : "this is a warning"
    }
}
1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago