Skip to content

SPANDigital/presidium-wysiwyg-thematic-break

 
 

Repository files navigation

Thematic Break Tool for Presidium WYSIWYG Editor

Installation

Install via NPM

Get the package

yarn add @spandigital/presidium-wysiwyg-thematic-break

Usage

Add a new Tool to the tools property of the Editor.js initial config.

var editor = EditorJS({
  ...
  
  tools: {
    ...
    thematic: ThematicBreak
  }
  
  ...
});

Config Params

This Tool has no config params

Output data

This Tool returns empty object.

{
    "type" : "thematic",
    "data" : {}
}

Releases

Master

To release a new non-beta version, do the following:

  1. Merge your changes into master
  2. Increment the version in package.json (The release GitHub action will not run unless this is done)
  3. run npm i
  4. Commit and push

The package will then be published to the @spandigital registry.

Develop

Beta packages are automatically published whenever a commit is pushed to the develop branch.

About

Thematic break plugin for Editor.js 2.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.0%
  • CSS 4.0%