zurb / tribute

ES6 Native @mentions
https://zurb.github.io/tribute/example/
MIT License
2.03k stars 304 forks source link

Replacing words that contains space #894

Open white-joker opened 1 year ago

white-joker commented 1 year ago

When used in autocomplete mode only last word is replaced with matched item. It is fine if word doesn't contain space, but is there a way to replace whole matched part of word? Example: if you type "java scr" and matched item is "java script" you'll get "java java script" after item selection.