셀렉션된 텍스트의 크기를 설정합니다.
캐럿 상태인 경우 입력될 텍스트의 크기를 설정합니다Sets the font size of the selected text.
In caret status, the font size of the text to be entered is designated.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'fontSize' font size API |
fontSize | Number | 텍스트 크기 font size (단위 pt) |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('fontSize', 12); |
...