- From: Dan Burzo <notifications@github.com>
- Date: Thu, 24 Aug 2017 01:27:33 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 24 August 2017 08:28:13 UTC
I've initially logged it here https://github.com/w3c/editing/issues/168 but was directed to the Selection API / Clipboard API repos — not sure what the interdependencies are, so I'm logging it here. I think the Copy action needs some clarification on: > 3.1. Copy the selected contents, if any, to the clipboard. Implementations should create alternate text/html and text/plain clipboard formats when content in a web page is selected. In regards to how the selection translates to html content. Case in point, browsers treat a Selection whose Range is set to either a Node (via `range.selectNode`) or a Node's content (via `range.selectNodeContent`) the same way: * Firefox will copy the Node's inner HTML to the clipboard * Chrome and Safari will copy the Node's outer HTML to the clipboard I believe there needs to be a way for authors to specify if the Node as a whole should be included in the clipboard, or just its content. -- 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/49
Received on Thursday, 24 August 2017 08:28:13 UTC