read()method of the
Clipboardinterface requests a copy of the clipboard’s contents, delivering the data to the returned
Promisewhen the promise is resolved. Unlike
read()method can return arbitrary data, such as images. This method can also return text.
Read data from clipboard.
but in UXP read() and readText() both return the same object with only
I’m trying to read image data from clipboard, is this a bug or am I doing something wrong?