Nuclear Package Magnet

    editorjs-inline-font-size-tool

    1.0.1 • Public • Published

    Font Size tool

    Font size inline tool for the Editor.js.

    Installation

    Install via NPM or Yarn

    Get the package

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

    or

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

    Include module in your application

    const FontSize = require('editorjs-inline-font-size-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: {
        ...
        fontSize: FontSize
      }
      ...
    });

    Install

    npm i editorjs-inline-font-size-tool

    DownloadsWeekly Downloads

    361

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    23.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • arwazjamal