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"`.

nit: Should this be "com.web.custom.format.0" rather than "com.web.custom.format0"? Not sure, but just asking for clarification

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

Received on Thursday, 22 July 2021 00:33:09 UTC