- From: Wenson Hsieh <notifications@github.com>
- Date: Fri, 08 Oct 2021 08:15:49 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 8 October 2021 15:16:01 UTC
> It could help to understand how the pasteboard benefits from that hint and what it makes out of it. > Would need to double check — but IIRC on iOS/iPadOS, this distinction allows the Notes app to insert a file attachment when copying a plain text file from the Files app, but insert text inline when copying a selected piece of plain text from another app. In both cases, the MIME type in the pasteboard would be "text/plain". > > This difference is used to provide a hint when writing to the system pasteboard using `NSItemProvider` on iOS. > > Only when writing to the system clipboard? Both reading and writing. -- 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/159#issuecomment-938722493
Received on Friday, 8 October 2021 15:16:01 UTC