Re: [w3c/editing] Add revised OS custom format naming. (#316)

@dway123 commented on this pull request.



>  
-On Windows, clipboard formats are often named using capital words separated by a space. Therefore, a MIME type `"custom/format"` will be transformed to `"Web Custom Format`”. Note that the prefix `"Web"` precedes the transformed format name.
+There will be a custom format map which contains a JSON payload that will have a mapping of custom format MIME type to web custom format. There can only be 100 custom format per user session and it will be registered when the web authors request for a custom format. Since this format is allocated in the global atom space on Windows, even if the sites register it multiple times, the format strings will only be allocated once and `RegisterClipboardFormat` system function call will just return the unique value corresponding to that format.

* "There can only be 100 custom format per user session": format -> formats. Please also paste this change into a document editor in case spellcheck catches other issues I've missed.
* "session and it will be registered when"-> "session. These formats will be registered when"

-- 
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/pull/316#pullrequestreview-711169736

Received on Wednesday, 21 July 2021 00:42:20 UTC