emojionearea
emojionearea copied to clipboard
paste image from clipboard
Hi! I want change file input of my form when someone paste image from clipboard in emojioneArea. I have tried paste event and its detecting paste but I am not able to access file from it. My code is like below
events: {
paste: function (editor, event) {
files = event.clipboardData.files;
console.log(files);
}
}
I am trying to do same from last two hours but not able to make it working. Let me know if anyone here can help me for solve my issue. Thanks!