Re: [w3c/editing] copy/cut and text-transform (#178)

@yosinch I am not entirely sure how to read your proposal for text/html. I am personally in favor keeping the HTML structure as it is when moving it to the clipboard - so that means not turning text into capitalized text or alike. The reason for that is that only if you do not change the structure, you keep the original data intact. How this is then ending up in the final paste location is up to the paste handling script of the receiver. Some apps may want to apply the transformation, while others may not. At times the application where the paste takes places may be able to guess where the original sources come from and then act accordingly -- but that does not work if the transformation has been applied already.

And example for that could be a site that allows copying book information from a well-known bookshop site directly into a form or inside a document. The bookshop site uses all caps titles of all books for styling purposes, but when pasting the title, the application that handles the paste wants to use the original capitalization.

-- 
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/178#issuecomment-415163522

Received on Wednesday, 22 August 2018 20:11:43 UTC