AboutSupportDeveloper GuideVersion 40.128.82.13
  • instead use WriteAnyClipboardRequest

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

interface WriteAnyRequestType {
    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.