Skip to content

purrmd


purrmd / commands / isAnyTextFormatting

Function: isAnyTextFormatting() ​

isAnyTextFormatting(state): boolean

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

Check if selection has any text formatting

Parameters ​

state ​

EditorState

Editor state

Returns ​

boolean

is any text formatting