Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tui-editor-plugin-font-size

paerck254kMIT1.0.4TypeScript support: included

TOAST UI Editor : Font Size Plugin

toast, toastui, toast-ui, editor, plugin, font-size, font, size, tui, font size

readme

tui-editor-plugin-font-size

This is a plugin of TOAST UI Editor to font size editing text.
based on @toast-ui/editor-plugin-color-syntax

font-size

Install

$ npm install tui-editor-plugin-font-size

or

$ yarn add tui-editor-plugin-font-size

Usage

import Editor from "@toast-ui/editor";
import fontSize from "tui-editor-plugin-font-size";
import "tui-editor-plugin-font-size/dist/tui-editor-plugin-font-size.css";

const editor = new Editor({
  // ...
  plugins: [fontSize],
});