@itech-indrustries/editor-js-text-color

@itech-indrustries/editor-js-text-color JS library on GitHub @itech-indrustries/editor-js-text-color JS library on npm Download @itech-indrustries/editor-js-text-color JS library

Text color Tool for Editor.js

Version 2.0.0 License MIT
@itech-indrustries/editor-js-text-color has no homepage
@itech-indrustries/editor-js-text-color JS library on GitHub
@itech-indrustries/editor-js-text-color JS library on npm
Download @itech-indrustries/editor-js-text-color JS library
Keywords
texttooleditor.jseditorjs

Text color Tool for Editor.js

This Tool for the Editor.js allows you to change the color of the selected text.

Installation

Install via NPM

Get the package

npm i @itech-indrustries/editor-js-text-color

Include module at your application

const Header = require('@itech-indrustries/editor-js-text-color');

Download to your project's source dir

  1. Upload folder dist from repository
  2. Add dist/bundle.js file to your page.

Load from CDN

You can load specific version of package from jsDelivr CDN.

https://cdn.jsdelivr.net/npm/@itech-indrustries/editor-js-text-color

Then require this script on page with Editor.js.

<script src="https://cdn.jsdelivr.net/npm/@itech-indrustries/editor-js-text-color@latest"></script>

Usage

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

var editor = EditorJS({
  ...

  tools: {
    ...
    ColorPicker: TextColor,
  },

  ...
});