Skip to content

liip/editorjs-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Button Tool

Button tool to create a Button link for the Editor.js.

Installation

Usage

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

var editor = EditorJS({
  ...
  
  tools: {
    ...
    button: {
      class: Button,
    },
  },
  
  ...
});

Config Params

This Tool has no config params

Output data

{
    "type" : "button",
    "data" : {
      "url": "https://yoururl.com",
      "label": "Button Label",
      "targetBlank": true
    }
}

About

Button block for Editor.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published