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


Parameters:

NameTypeDescription
actionNameString'insertRow' row inserting API
indexNumberInserting position


Example:

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