Re: [w3c/clipboard-apis] Make it possible to read image/svg+xml from the clipboard (#92)

I tested it now in sketch, teams desktop app, twitter web, slack web app... as soon as you add the `image/svg+xml` it will "freak" out and try to paste the big svg text and freeze for a few seconds...

[svgomg](https://jakearchibald.github.io/svgomg/) indeed works fine as it will use the text and is ready for bigger texts.

if you only use `image/svg+xml` in the clipboard nothing happens when you past it (tested the same apps as before). svgomg will also throw an error "pasted value not an svg"... I assume because as it expects a string and not an actual svg

so far I could not find a single app that could handle `image/svg+xml`... 😅

Does anyone know of a good example?

-- 
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/92#issuecomment-966267352

Received on Thursday, 11 November 2021 12:35:55 UTC