Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (editorjs-inline-font-tool) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
- Download folder
dist
from repository - 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
}
...
});