Skip to content

purrmd


purrmd / commands / isHighlight

Function: isHighlight() ​

isHighlight(state): boolean

Defined in: packages/core/src/core/command/textFormatting.ts:537

Check if selection has highlight

Parameters ​

state ​

EditorState

Editor state

Returns ​

boolean

has highlight