Re: [editing] What do we need to integrate with the clipboard api? (#64)

> Maybe I'm worried a bit too much, but Blink (and probably WebKit too) canonicalize selections when set as of today, as you all know.

I was not aware of this, or I had forgotten about it. Do you mean it manipulates the DOM (merging sibling text nodes, removing empty text nodes with no siblings, etc.) just because something is selected or copied? That, to me, would not be good. Especially for collaborative editors this would be a big problem.

If, on the other hand, the contents of the clipboard do not entirely correspond to the content that was copied (because text nodes have been merged in the copied version, etc.) that would be much less of a problem.

Is there any reason why anything needs to be changed in the DOM just because it is being copied?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/64#issuecomment-130675284

Received on Thursday, 13 August 2015 13:38:47 UTC