@umbraco-cms/backoffice
    Preparing search index...

    Type Alias MarkType<Type, TAttributes>

    A mark type is either a JSON representation of a mark or a Prosemirror mark instance

    type MarkType<
        Type extends string
        | { name: string } = any,
        TAttributes extends undefined | Record<string, any> = any,
    > = {
        attrs: TAttributes;
        type: Type;
    }

    Type Parameters

    • Type extends string | { name: string } = any
    • TAttributes extends undefined | Record<string, any> = any
    Index

    Properties

    Properties

    type: Type