/tui-editor-plugin-font-size

This is a plugin of TOAST UI Editor to font size editing text.

Primary LanguageTypeScriptMIT LicenseMIT

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],
});