Re: [w3c/editing] Seeking feedback on Clipboard Pickling APIs. (#334)

After @snianu's clipboard pickling presentation last week in the [Web Editing WG meeting](https://www.w3.org/2021/09/10-editing-minutes.html), we had a discussion that resulted in two action items:

1. @whsieh from Apple suggested that we write both the sanitized and unsanitized content all the time to the clipboard instead of requiring authors to declare they also want an unsanitized copy under the new pickled name.  That seems like a good suggestion so @snianu can incorporate that into the explainer / upcoming pull request.
2. @whsieh also pointed out that Safari may not want to let web sites read the unsanitized content unless it was produced from the same origin trying to read it.  I asked whether it would be acceptable to use a CORS-like approach and let the producer of the clipboard content specify which origins can consume it.  Since the motivation for restricting read seemed to be privacy concerns I think it would be OK to the let the producer of the clipboard content declare its OK for sharing.  @wshieh is going to give that further consideration and can share more thoughts at a future meeting or in this issue.

-- 
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/editing/issues/334#issuecomment-918529355

Received on Monday, 13 September 2021 20:01:24 UTC