Type Editor / @type-editor/tables / commands/add-row-after / addRowAfter
Function: addRowAfter()
ts
function addRowAfter(state, dispatch?): boolean;Defined in: tables/src/commands/add-row-after.ts:17
Command to add a table row after the selection.
Parameters
| Parameter | Type | Description |
|---|---|---|
state | PmEditorState | The current editor state |
dispatch? | DispatchFunction | Optional dispatch function to execute the command |
Returns
boolean
True if the command is applicable, false otherwise