Re: [w3c/clipboard-apis] Questions about implementing `clipboard.write` (Issue #237)

trflynn89 left a comment (w3c/clipboard-apis#237)

> Perhaps the declaration of `itemList` and `cleanItemList` should be moved into the iteration of `dataList`?

Yep that works, and is actually how we ended up implementing this method in Ladybird:

https://github.com/LadybirdBrowser/ladybird/blob/912009f6b37f76891474f58e2df55b2d946b6788/Libraries/LibWeb/Clipboard/Clipboard.cpp#L441-L443

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

Message ID: <w3c/clipboard-apis/issues/237/2854726802@github.com>

Received on Tuesday, 6 May 2025 14:10:56 UTC