I found the following function which allows me to get the data when the user pastes text.
document.addEventListener('paste', function (evt) {
console.log(evt.clipboardData.getData('text/plain'));
});
I'm wondering if there is a format which would allow me to get the associated meta-data? (e.g. Word formating, Excel, ect.)
Preferably a program neutral solution but even being able to get word format would be useful.