@witchcraft/editor
    Preparing search index...
    interface ItemNodeOptions {
        allowAnyIdLength: boolean;
        ensureLastItemIsParagraph: boolean;
        HTMLAttributes: Record<string, any>;
        idLength: number;
        states: StatefulNodeStates;
        types: string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowAnyIdLength: boolean

    Allows other id lengths so long as they are valid ids. Defaults to true.

    ensureLastItemIsParagraph: boolean

    If true, the ensureLastItemIsContentPlugin is added.

    Defaults to true. The option is available mostly for testing purposes.

    HTMLAttributes: Record<string, any>
    idLength: number
    types: string[]