Skip to content

Selective Clipboard Format Read #240

@shwetabin

Description

@shwetabin

Hi,
I'd like to propose an addition to the Clipboard API - a way to efficiently get specific MIME types in the Async Clipboard Read API. The primary use case I have in mind involves web applications that support rich content editing, such as document editors, email clients, and data grids, which routinely deal with multiple types of clipboard payloads, including large HTML fragments, images, and custom MIME types. These applications often implement features like "Paste as plain text" or "Paste with formatting," where only a subset of the clipboard data is needed. You can find more detailed explainer at https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ClipboardAPI/SelectiveClipboardFormatRead/explainer.md. Could we schedule a discussion at an upcoming meeting to figure out:

  1. Is there consensus to address this problem?
  2. If not, what extra data could help show that the use case is important?
  3. If the use case does have consensus:
    1. Can we check the explainer into https://github.com/w3c/clipboard-apis?
    2. What concerns do people have about the proposed API shape?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions