Skip to content

Allow writing text, html, and rtf at once #10

@felipecrs

Description

@felipecrs

Like Electron's clipboard.write(), it would be nice if there was a method that allowed writing multiple clipboard formats at the same time.

This is useful when you copy a rich text or html (like Microsoft Edge's URL copy) but also have it available as plain text for the applications that only support plain text.

This would avoid generating multiple clipboard events when compared to:

await setText(newText.text);
await setHtml(newText.html);
await setRtf(newText.rtf);

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions