ivirabyan / jquery-mentions

Adds mentioning support to your text fields.
http://ivirabyan.github.io/jquery-mentions/
MIT License
114 stars 49 forks source link

Multiple Trigger Chars #60

Closed ngaurav closed 7 years ago

ngaurav commented 8 years ago

I have two source of data. I want to use '@' for mentions ans '#' for hashtags. Is this possible right now?

I found these links which are relevant here Support Multiple Trigger Chars by ryanramage · Pull Request #7 ryanramage fork

ivirabyan commented 8 years ago

That's not possible out of the box. If you just need to autocomplete hashtags typed by the user, you don't need such a complex plugin. Try using jquery-textcomplete for hashtags.

ivirabyan commented 7 years ago

You can set multiple trigger chars, settings trigger='@#', but plugin will use the same datasource for both chars.