Now when I paste in things, I need to hit enter or some other key for tagify to do its work and tagify the pasted content. I think it makes a lot more sense for that to happen directly when you paste in. Otherwise, users will be confused about why their input isn't recognized (and they won't know that they have to hit enter).
good point, thanks. I will investigate
I also mentioned a comment in #505 that use this.update(); at the end of insertTextAtCaret function.
I've removed insertTextAtCaret completely on the latest version and replaced it with injectAtCaret which is a new method I wrote to replace it, which is more robust
@danqing - I think users will not be confused at all, and it actually better UX to not automatically convert pasted text into tags, because someone might paste a partial string which they wish to complete once pasted.
Even your own browser doesn't simply go to a website when you paste a URL in the address bar, because you can never be sure it's the final wish of the user to use the pasted content, as-is. Let the user decide when done is done and press Enter
Thank you @yairEO for the comment, but I respectfully disagree.
Going to an address and tagifying input are not comparable actions - going to an address and _hitting the submit button_ are. While I get your point that the user may have a partial input, I want to point out that
Lemme know what you think. Thanks!
Ok I'm convinced, I will work on it
Most helpful comment
Ok I'm convinced, I will work on it