UNPKG

tui-editor-plugin-font-size

Version:
30 lines (20 loc) 670 B
# tui-editor-plugin-font-size This is a plugin of [TOAST UI Editor](https://github.com/nhn/tui.editor/tree/master/apps/editor) to font size editing text.<br> based on [@toast-ui/editor-plugin-color-syntax](https://github.com/nhn/tui.editor/tree/master/plugins/color-syntax) ![font-size](./readme_img.png) ### Install ```sh $ npm install tui-editor-plugin-font-size or $ yarn add tui-editor-plugin-font-size ``` ### Usage ```js 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], }); ```