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?
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:
What do you think?