@umbraco-cms/backoffice

    Interface ManifestTiptapToolbarExtensionMenuKind

    interface ManifestTiptapToolbarExtensionMenuKind {
        alias: string;
        api?: ApiLoaderProperty<UmbTiptapToolbarElementApi>;
        API_TYPE?: UmbTiptapToolbarElementApi;
        element?: ElementLoaderProperty<UmbControllerHostElement>;
        ELEMENT_TYPE?: UmbControllerHostElement;
        elementName?: string;
        forExtensions?: string[];
        items?: MetaTiptapToolbarMenuItem<unknown>[];
        js?: ElementAndApiLoaderProperty<
            UmbControllerHostElement,
            UmbTiptapToolbarElementApi,
        >;
        kind: "menu";
        meta: MetaTiptapToolbarMenuExtension;
        name: string;
        type: "tiptapToolbarExtension";
        weight?: number;
    }

    Hierarchy (View Summary, Expand)

    Index

    Properties

    alias: string

    The alias of the extension, ensure it is unique

    The file location of the api javascript file to load @TJS-type string

    @TJS-ignore

    The file location of the element javascript file to load @TJS-type string

    @TJS-ignore

    elementName?: string

    The HTML web component name to use such as 'my-dashboard' Note it is NOT , just the element name.

    forExtensions?: string[]
    items?: MetaTiptapToolbarMenuItem<unknown>[]

    The file location of the javascript file to load @TJS-type string

    kind: "menu"

    The kind of the extension, used to group extensions together

    ["button"]

    name: string

    The friendly name of the extension

    type: "tiptapToolbarExtension"

    The type of extension such as dashboard etc...

    weight?: number

    Extensions such as dashboards are ordered by weight with lower numbers being first in the list

    MMNEPVFCICPMFPCPTTAAATR