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

@snianu commented on this pull request.



> +
+On Linux, ChromeOS, and Android
+```
+{
+
+  "text/html" : "application/web;type="custom/format0",
+  "text/plain" : "application/web;type="custom/format1",
+  "text/csv" : "application/web;type="custom/format2"
+}
+```
+
+The value in the JSON payload mentioned above contains the actual payload of the custom MIME type. It will be serialized in terms of raw bytes and will have the below formatting naming convention:
+
+On MacOS (and iOS), clipboard formats are named using the UTI reverse-DNS naming convention. Therefore, a MIME type `"text/html"` will be transformed to `"com.web.custom.format0"`. Note that the pickling prefix `"com.web"` precedes the transformed format name `"custom.format0"`.
+
+On Windows, clipboard formats are often named using capital words separated by a space. Therefore, a MIME type `"text/html"` will be transformed to `"Web Custom Format0`.

hm I'm not too sure about this as "0" is really associated with the "Format" so it doesn't make much sense to separate it. But if you prefer to make it a separate word, then I can do that change as well. 

-- 
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#discussion_r674430951

Received on Thursday, 22 July 2021 00:36:31 UTC