Font size inline tool for the Editor.js.
Get the package
npm i --save-dev editorjs-inline-font-size-toolor
yarn add editorjs-inline-font-size-tool --devInclude module in your application
const FontSizeTool = require('editorjs-inline-font-size-tool');- Download folder
distfrom repository - Add
dist/bundle.jsfile to your page.
Add a new Tool to the tools property of the Editor.js initial config.
var editor = EditorJS({
...
tools: {
...
fontSize: FontSizeTool
}
...
});