Designate the background color for the selected text.
In caret status, the background color for the text to be entered is designated.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'fill' text background color API |
colorCode | String | hex color (ex; #000000) |
Example:
editor.execCommand('fill', '#000000');