Skip to content

purrmd


purrmd / commands / isHeading1

Function: isHeading1()

isHeading1(state): boolean

Defined in: packages/core/src/core/command/heading.ts:132

Check if the current selection is all heading 1

Parameters

state

EditorState

EditorState

Returns

boolean

boolean