https://github.com/paerck25/tui-editor-plugin-font-size
This is a plugin of TOAST UI Editor to font size editing text.
https://github.com/paerck25/tui-editor-plugin-font-size
editor font plugin size tui
Last synced: about 1 year ago
JSON representation
This is a plugin of TOAST UI Editor to font size editing text.
- Host: GitHub
- URL: https://github.com/paerck25/tui-editor-plugin-font-size
- Owner: paerck25
- License: mit
- Created: 2022-04-21T00:37:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-12T07:37:01.000Z (almost 4 years ago)
- Last Synced: 2025-03-23T18:50:18.692Z (over 1 year ago)
- Topics: editor, font, plugin, size, tui
- Language: TypeScript
- Homepage:
- Size: 87.9 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
based on [@toast-ui/editor-plugin-color-syntax](https://github.com/nhn/tui.editor/tree/master/plugins/color-syntax)

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