Insert column to the table in which the caret or selection is positioned at the index position received as a parameter.


Parameters:

NameTypeDescription
actionNameString'insertCol' column inserting API
indexNumberInserting position


Example:

editor.execCommand('insertCol', 1);
editor.execCommand('insertCol', 5);