셀렉션된 텍스트의 색을 설정합니다.
...
Designate the text color for the selected text.
In caret status, the text color for the text to be entered is designated.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String액션 이름 | 'textFill' text color changing API |
colorCode | String | hex color (ex; '#000000' 형식의 color code) |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('textFill', '#000000'); |
...