We are using a 3D CAD application which allows to copy the 3D data in a special format to the clipboard. We now want to paste this 3D data (basically it's structured as XML) in the browser.
I tried a lot with the HTML5 Clipboard API, but besides text and HTML nothing works, the clipboardData
is always emtpy...
Even if I log the type, besides text and HTML, it's empty:
console.log(event.clipboardData.types);
Retrieving data with event.clipboardData.getData('application/x-egr-eai-basket-cutbuffer-uncompressed')
doesn't work, too.
Is it even possible to paste such a custom format in the browser?