AboutSupportDeveloper GuideVersion 41.133.100.79

A generic request to write any supported data to the clipboard.

interface WriteAnyClipboardRequest {
    data: {
        html?: string;
        rtf?: string;
        text?: string;
    } & Partial<Pick<WriteImageClipboardRequest, "image">>;
    type?: ClipboardSelectionType;
}

Properties

Properties

data: {
    html?: string;
    rtf?: string;
    text?: string;
} & Partial<Pick<WriteImageClipboardRequest, "image">>

Data to be written

The type of clipboard to write to, can be 'clipboard' or 'selection'. Defaults to 'clipboard'. Use 'selection' for linux only.