Re: [w3c/clipboard-apis] Option to specify ClipboardItem is sensitive in .write() and .writeText() (#154)

@snianu is there anything that would stop us from using the [UWP APIs on Windows](https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.datatransfer.clipboardcontentoptions.isallowedinhistory?view=winrt-22000#Windows_ApplicationModel_DataTransfer_ClipboardContentOptions_IsAllowedInHistory) to specify whether an item should be added to the clipboard history or not based on a `ClipboardItem` option like @sangeeth96 has proposed?

@whsieh there are also [MacOS content options](https://developer.apple.com/documentation/appkit/nspasteboard/contentsoptions) that control some pasteboard behavior like whether the clipboard content can be roamed to another device.  Would it make sense to let the web author opt out of that behavior using a `ClipboardItem` option?



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/154#issuecomment-994213767

Received on Wednesday, 15 December 2021 01:52:18 UTC