AboutSupportDeveloper GuideVersion 38.126.83.74

Deprecated

  • 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

Type declaration

  • Optional html?: string
  • Optional rtf?: string
  • Optional text?: string

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