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') |
Example:
editor.execCommand('textFill', '#000000');