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

@dway123 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`.

sounds good to me. I just wasn't sure if this was an intentional decision. lgtm now that it is.

-- 
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_r674437556

Received on Thursday, 22 July 2021 01:01:24 UTC