셀렉션된 텍스트의 글꼴을 설정합니다.
...
Designates the font family of the selected text.
In caret status, the font family of the text to be entered is designated.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'fontName' font family changing API |
fontName | String글꼴 이름 | font family (ex; 'Arial') |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('fontName', 'Arial'); |
...