Skip to content

purrmd


purrmd / commands / isParagraph

Function: isParagraph()

isParagraph(state): boolean

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

Check if the current selection is all paragraphs (not headings)

Parameters

state

EditorState

EditorState

Returns

boolean

boolean