Trevixal API
    Preparing search index...

    Interface CopiedFormat

    A captured set of formatting: the inline marks with their attributes, and optionally the block type and its layout. Plain data, so an application can store it, show it, or apply it later.

    interface CopiedFormat {
        blockAttrs: Readonly<Record<string, unknown>> | null;
        blockType: string | null;
        marks: Readonly<Record<string, Attrs>>;
    }
    Index
    blockAttrs: Readonly<Record<string, unknown>> | null
    blockType: string | null

    Block type name, when block formatting was included.

    marks: Readonly<Record<string, Attrs>>

    Mark name → attributes, for every mark active at the copy point.