Interface ManifestTiptapToolbarExtensionButtonKind<MetaType>

interface ManifestTiptapToolbarExtensionButtonKind<
    MetaType extends MetaTiptapToolbarExtension = MetaTiptapToolbarExtension,
> {
    alias: string;
    api?: ApiLoaderProperty<UmbTiptapToolbarElementApi>;
    API_TYPE?: UmbTiptapToolbarElementApi;
    element?: ElementLoaderProperty<UmbControllerHostElement>;
    ELEMENT_TYPE?: UmbControllerHostElement;
    elementName?: string;
    forExtensions?: string[];
    js?: ElementAndApiLoaderProperty<
        UmbControllerHostElement,
        UmbTiptapToolbarElementApi,
    >;
    kind: "button";
    meta: MetaType;
    name: string;
    type: "tiptapToolbarExtension";
    weight?: number;
}

Type Parameters

Hierarchy (View Summary, Expand)

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[]

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

kind: "button"

The kind of the extension, used to group extensions together

["button"]

meta: MetaType
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