Closed SatoshiKawabata closed 7 years ago
How about this change? I tryed to remove the evaluation. https://github.com/SatoshiKawabata/paste.js/pull/1/files
Hi, I tried to paste multiple times in Edge (assuming you're developing on Edge). And I can paste multiple times without problems.
Please try to remove other code manipulating the textarea
then try implement the pasting feature again. If it's still not working please show me how do you think you can't paste text for the second time. (browser version / code).
The statement you are trying to remove is part of the hack for old version firefox. Without it the text pasting would be quirky.
I use
pastableNonInputable
element.When I paste text, I can't paste it from second time. By this code,
ev.currentTarget
is not equal toev.target
.ev.currentTarget
is the parent element butev.target
is the childspan
.Do you know some workaround? Or do I mistook usage?