Designate the text color for the selected text.

In caret status, the text color for the text to be entered is designated.


Parameters:

NameTypeDescription
actionNameString'textFill' text color changing API
colorCodeStringhex color (ex; '#000000')


Example:

editor.execCommand('textFill', '#000000');