Re: [w3c/editing] Remove write and add more details on read. (PR #456)

@snianu commented on this pull request.



>  
-## Copy HTML text using async clipboard write
-```
-Version:0.9
-StartHTML:0000000105
-EndHTML:0000000252
-StartFragment:0000000141
-EndFragment:0000000216
-<html>
-<body>
-<!--StartFragment--><p style="color: red; font-style: oblique;">This text was copied </p><!--EndFragment-->
-</body>
-</html>
+In Chromium, the header of the HTML is hardcoded([`ui::clipboard_util::HtmlToCFHtml`](https://source.chromium.org/chromium/chromium/src/+/main:ui/base/clipboard/clipboard_util_win.cc;drc=9cc9ba08c27cb1172fb4a876ceb432f72bebfe72;l=845)) during copy and then written to the clipboard.

Clarified it a bit. We see this header info during `getData` on Windows.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/pull/456#discussion_r1376790088
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/pull/456/review/1705049439@github.com>

Received on Monday, 30 October 2023 20:55:15 UTC