TinyMCE MultiCloud Plugin - v0.1.1
    Preparing search index...

    Interface DropboxProviderConfig

    Configuration for the Dropbox provider. Requires a appKey from the Dropbox App Console.

    Salvatore Callari Callari@WaXCode.net

    interface DropboxProviderConfig {
        apiKey?: string;
        appKey: string;
        clientId?: string;
        enabled?: boolean;
        extensions?: string[];
        headers?: Record<string, string>;
        linkType?: "preview" | "direct";
        multiselect?: boolean;
        pickerUrl?: string;
        popupFeatures?: string;
        scopes?: string[];
        timeoutMs?: number;
        token?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    apiKey?: string

    API key, used by Google Drive in addition to clientId.

    appKey: string

    Dropbox application key ("App key") from the Dropbox App Console.

    clientId?: string

    OAuth client ID, used by providers that implement their own SDK auth flow.

    enabled?: boolean

    Set to false to completely disable this provider. Disabled providers are excluded from the picker dialog. Defaults to true.

    extensions?: string[]

    File extension filter for the Chooser (e.g. [".pdf", ".docx"]).

    headers?: Record<string, string>

    Extra HTTP headers forwarded to provider API calls (e.g. for WebDAV requests).

    linkType?: "preview" | "direct"

    Link type returned by the Dropbox Chooser.

    • "preview" — returns a stable www.dropbox.com/scl/fi/... link (default, recommended).
    • "direct" — returns a temporary direct-download link that expires.
    multiselect?: boolean

    Whether to allow multi-file selection in the Chooser. Defaults to false.

    pickerUrl?: string

    URL of a custom picker page that communicates back via postMessage using the PickerMessage contract. When set, the built-in SDK flow is bypassed entirely and this URL is opened in a popup window.

    popupFeatures?: string

    Window features string passed to window.open for the picker popup (e.g. "width=1120,height=760").

    scopes?: string[]

    OAuth scopes to request. Falls back to a provider-specific default when omitted.

    timeoutMs?: number

    Per-provider picker timeout in milliseconds. Overrides MultiCloudPluginOptions.popupTimeoutMs.

    token?: string

    Pre-obtained access token. When supplied, the provider may skip the interactive auth step.