Divide the cell in which the caret is positioned according to the number of rows and columns received as a parameter.


Parameters:

NameTypeDescription
actionNameString'splitCell' cell spliting API
rowNumberNumber of rows
colNumberNumber of columns


Example:

editor.execCommand('splitCell', 2, 2);