w3c / clipboard-apis

Clipboard API and events
https://w3c.github.io/clipboard-apis/
Other
143 stars 41 forks source link

What are the mandatory data types for Asynchronous Clipboard API? #177

Open EdgarChen opened 2 years ago

EdgarChen commented 2 years ago

There is a sub-session of Mandatory data types under Clipboard Event API session. But spec doesn't mention that for Asynchronous Clipboard API specifically. Do we expect the mandatory data types for Clipboard Event API also be applied to Asynchronous Clipboard API?

annevk commented 2 years ago

At least from discussion the intent is that the two APIs operate on the same underlying model, so yes. That should probably be more clearly stated in the specification.

snianu commented 2 years ago

See https://github.com/w3c/editing/issues/305. Also, agreed that the spec should be more explicit about the API that these formats are applicable to.