Re: [w3c/clipboard-apis] Add clipboard IDL description. (#158)

@snianu commented on this pull request.



>  
-    1. If |data| contains a "text/plain" item |textItem|, then:
+    1. Let |data| be a copy of the [=system clipboard data=] represented as [=/clipboard item=].

For `readText()` we only want the `text/plain` format from the clipboard, so I can reuse some of the texts from `read()`: 
`Let |data| be a copy of the [=system clipboard data=] represented as [=clipboard items=]. For the MIME types defined in the [=mandatory data types=] list, |data| contains the sanitized copy of text/plain format.`
WDYT?

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

Message ID: <w3c/clipboard-apis/pull/158/review/845084549@github.com>

Received on Wednesday, 5 January 2022 21:34:26 UTC