Skip to content

Type Editor


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

ParameterTypeDescription
statePmEditorStateThe current editor state
dispatch?DispatchFunctionOptional dispatch function to execute the command

Returns

boolean

True if the command is applicable, false otherwise