Open ShruthiJaiprakash opened 5 years ago
Is there a way I can access original event object and read clipboardData from there?
Quick solution If you need to get the paste event with the original event you can also do it like this:
window.$('.emojionearea-editor').get(0).addEventListener('paste', this.pasteHandler);
Hello, I am trying to retrieve the clipboard data ( i have a requirement to paste an image into the text area), I dont seem to find the event e for me to search for var items = e.clipboardData.items; Can you please help me!
Thanks