Skip to content

purrmd


purrmd / commands / isStrikethrough

Function: isStrikethrough() ​

isStrikethrough(state): boolean

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

Check if selection has strikethrough

Parameters ​

state ​

EditorState

Editor state

Returns ​

boolean

has strikethrough