Re: [w3c/clipboard-apis] Add Custom Clipboard format support to async clipboard. (PR #162)

> I don't see how that makes sense for a Web API. 

We have several concepts in the `ClipboardItem` object that don't make sense on other platforms except iOS/iPadOS/MacOS. e.g.
1. We have a `presentationStyle` member in `ClipboardItemOptions` that is only supported in iOS/iPadOS. Chromium doesn't support this attribute and has no plans to support this type in the future.
2. We have multiple `ClipboardItem` support that doesn't make sense on platforms like Windows, Android, ChromeOS etc. 

Yet we chose to add it to the async clipboard API anyways, so I think we can add the `unsanitized` option as an optional type in `ClipboardItemOptions` as we already have a precedent to add options that may never be implemented/supported on other platforms.

-- 
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/pull/162#issuecomment-974334049

Received on Friday, 19 November 2021 19:08:15 UTC