Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paste image from clipboard #451

Open
quotesdiary opened this issue Aug 25, 2022 · 0 comments
Open

paste image from clipboard #451

quotesdiary opened this issue Aug 25, 2022 · 0 comments

Comments

@quotesdiary
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant