sliptree / bootstrap-tokenfield

A jQuery tag/token input plugin for Twitter's Bootstrap, by the guys from Sliptree
http://sliptree.github.io/bootstrap-tokenfield/
Other
859 stars 238 forks source link

[Feature Request] Allow typing in between tokens #254

Open mgwidmann opened 9 years ago

mgwidmann commented 9 years ago

For a token input field such as: ([red][blue][ect] can type here no problem... ) it is impossible to enter text in between red and blue for example.

This is useful if for example you want the user to enter some encoded values which may be dynamic at a later point. For example, in a blog post app, a user may want to leave a comment such as:

I think this is a great post! Thanks [some user]!

Where [some user] would be a tag. This would allow the developer to encode [some user] instead as something like %user:1234% or whatever scheme they desire and replace the name of the user dynamically on rendering. That way if the user's name changes, the comment will always be up to date and properly linked to that user's profile.