Insert row to the table in which the caret or selection is positioned at the index position received as a parameter.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'insertRow' row inserting API |
index | Number | Inserting position |
Example:
editor.execCommand('insertRow', 1); editor.execCommand('insertRow', 5);