- From: Ryosuke Niwa <notifications@github.com>
- Date: Wed, 13 Nov 2019 14:30:19 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/clipboard-apis/issues/105/553634539@github.com>
> > > > I don't see how this relates to Clipboard API on the Web? > > > > > > > > > sorry posted in the wrong place; could you suggest the relevant repo to raise this? > > > > > > Probably stackoverflow. > > Tried, nobody answered me. Seems w3c and apple didn't sort this out, and I don't know who or where to ask... > https://stackoverflow.com/questions/58795424/how-does-macos-handle-image-svgxml-type-mime-data-in-clipboard How to use operating system's clipboard implementation (in Cocoa platforms they're called pasteboards) is completely outside the realm of what W3C deals with. W3C is a standard organization for the Web, not every operating system in existence. As a disclaimer, I'm an engineer at Apple's WebKit team but I sill won't be able to answer your question because the underlying Cocoa API does not use MIME type as means of tracking types of data in pasteboard. Instead, [NSPasteboard](https://developer.apple.com/documentation/appkit/nspasteboardtype?language=objc) is used. There is a set of [globally known types](https://developer.apple.com/documentation/appkit/nspasteboardtype?language=objc) but your program can also register a [new UTI](https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_declare/understand_utis_declare.html#//apple_ref/doc/uid/TP40001319-CH204-SW4) and use that instead. Again, MIME type doesn't come into play. -- 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/clipboard-apis/issues/105#issuecomment-553634539
Received on Wednesday, 13 November 2019 22:30:22 UTC