Set the background color for the selected cells.


Parameters:

NameTypeDescription
actionNameString'cellBackground' cell background color setting API
colorCodeStringhex color (ex; '#000000')


Example:

editor.execCommand('cellBackground', '#ff0000');