@witchcraft/editor
    Preparing search index...

    Interface HeadingNodeOptions<T>

    interface HeadingNodeOptions<T extends number[] = [1, 2, 3, 4, 5, 6]> {
        HTMLAttributes: Record<string, any>;
        levels: T;
    }

    Type Parameters

    • T extends number[] = [1, 2, 3, 4, 5, 6]
    Index

    Properties

    HTMLAttributes: Record<string, any>

    The HTML attributes for the heading node.

    Each value can also be an array of values for each heading level.

    The default adds tailwind text size classes.

    levels: T

    The available heading levels.