Nutrient Web SDK
    Preparing search index...

    Type Alias InlineTextSelectionToolbarItemsCallback

    InlineTextSelectionToolbarItemsCallback: (
        options: {
            defaultItems: InlineTextSelectionToolbarItem[];
            hasDesktopLayout: boolean;
        },
        selection: TextSelection,
    ) => InlineTextSelectionToolbarItem[]

    This callback can be run on specific text selection to modify its inline toolbar items. Nutrient Web SDK comes with a built-in toolbar that shows whenever some text is selected on a document, we will refer to said tooltip as inline toolbar from now on. This callback allows users to customize said inline toolbar.

    Type Declaration