editorjs-inline-font-family-tool

1.0.4 • Public • Published

Font Family tool

Font family inline tool for the Editor.js.

Installation

Install via NPM or Yarn

Get the package

npm i --save-dev editorjs-inline-font-family-tool

or

yarn add editorjs-inline-font-family-tool --dev

Include module in your application

const FontFamily = require('editorjs-inline-font-family-tool');

Upload to your project's source dir

  1. Download 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: {
    ...
    fontFamily: FontFamily
  }
  ...
});

Dependencies (0)

    Dev Dependencies (16)

    Package Sidebar

    Install

    npm i editorjs-inline-font-family-tool

    Weekly Downloads

    351

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    27.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • arwazjamal