Skip to content

Function: textAlignmentAt() ​

ts
function textAlignmentAt(state): TextAlignment | null;

The alignment of the block that holds the selection ('left' when unset).

Parameters ​

ParameterType
stateEditorState

Returns ​

TextAlignment | null