-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is PresentationStyle? #159
Comments
The |
It could help to understand how the pasteboard benefits from that hint and what it makes out of it.
Only when writing to the system clipboard? |
Would need to double check — but IIRC on iOS/iPadOS, this distinction allows the Notes app to insert a file attachment when copying a plain text file from the Files app, but insert text inline when copying a selected piece of plain text from another app. In both cases, the MIME type in the pasteboard would be "text/plain".
Both reading and writing. |
@whsieh Thank you Wenson! I'll add those details to the spec. |
I'm working on adding a bit more detail about the
ClipboardItem
interface in #158. This question came up in the PR review and I wasn't sure what the purpose ofpresentationStyle
member is inClipboardItem
that hasunspecified
,inline
&attachment
values. I don't see it being used in Chromium async clipboard API implementation, but I do see Safari using it for something that I don't quite understand. Can someone describe the scenario where it's being used and the description of this member so I can add it to the spec? @whsieh @rniwaThe text was updated successfully, but these errors were encountered: