Skip to content

isCodeBlock missing from FormatState #1532

@stonebk

Description

@stonebk

Description
The roosterjs-editor-api provides a toggleCodeBlock, but there is no corresponding isCodeBlock in FormatState.

Expected behavior
I expect there to be an isCodeBlock just like there is a isBlockQuote for toggleBlockQuote.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions