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

Why is only Edge excluded from the condition in the onPaste function? #389

Open
seonim-ryu opened this issue Aug 20, 2020 · 0 comments
Open

Comments

@seonim-ryu
Copy link

First of all, thank you for making a good library. Currently, TOAST UI Editor is using a forked version of Squire, but I have a question regarding the clipboard.

Looking at the onPaste function in the clipboard module (Clipboard.js), when the clipboard data is pasted into the Squire, the conditional statement is passed only if it is not Edge.

https://github.com/neilj/Squire/blob/c78bd4aac9df46b0794cf181eb39b846c5f0d5a9/source/Clipboard.js#L215-L226

According to the comment you wrote, it looks like this:

https://github.com/neilj/Squire/blob/c78bd4aac9df46b0794cf181eb39b846c5f0d5a9/source/Clipboard.js#L211

But in my opinion, I can access html in the current version of Edge. Can I know more about the reason for this process? I would be very grateful if you would answer. Then I'll wait. 🙂

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