Gets a command to split the selected table cells.
readonly splitTableCells: SplitTableCellsCommand
An object that provides methods that execute the command and check its state.
Call the execute(rowCount, columnCount, mergeBeforeSplit) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.
richEdit.commands.splitTableCells.execute(5, 3, true);
The command split table cells only if the selection contains only a target range forming a rectangle without any unselected table cells.
If the selected range includes more than one table row, the command ignores the value of the rowCount parameter and splits the selected table cells into columns only.