@witchcraft/editor
    Preparing search index...
    Heading: Node<HeadingNodeOptions<[1, 2, 3, 4, 5, 6]>, any> = ...

    Like tiptap's Heading extension, but makes it easier to configure per-level html attributes.

    Also the setHeading command has an option to only change the heading level if the text is already a heading.

    This is useful for when you want to change the heading level of a heading that is already in the document.