Skip to content

Clipboard data types #7

@mems

Description

@mems
  • Firefox: Copy text/uri-list is only supported for GTK. On macOS it added as UTI org.mozilla.custom-clipdata.
    Pasted TIFF data (UTI public.tiff) is converted as PNG data (see clipboardData.items). Metadata ("Creator Tool" and "Modify Date") are stored as XMP.
    Support text/plain (UTI public.utf8-plain-text), text/html (UTI public.html), text/rtf (UTI public.rtf).
  • Chrome: Copy custom type is added as UTI org.chromium.web-custom-data. Pasted TIFF data (UTI public.tiff) is converted as PNG data (see clipboardData.items). Metadata are not kept.
    Pasted PDF data (UTI com.adobe.pdf) is converted to PNG data (but rendered incorrectly).
    Support text/plain (UTI public.utf8-plain-text), text/html (UTI public.html), text/rtf (UTI public.rtf).

text/plain, text/html, text/richtext, image/png

Specs:

If format equals text, change it to text/plain.
If format equals url, change it to text/uri-list.

HTML 5.2: 5. User interaction

See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions