ivirabyan / jquery-mentions

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

Creating a new mention before an already existing mention removes all mentions after it #35

Closed zilions closed 9 years ago

zilions commented 9 years ago

If I create a mention and then another mention before that original mention, the original mention is removed.

For example, if my textbox has the following ("TestingTest" being the mention):

Hello, this is an example TestingTest.

If I then go back to the start of the textarea to add in another mention, the first mention, being "TestingTest" is removed and is then displayed like normal text without the styling. For example, if I add a new mention (called "NewMention") before the original:

Hello NewMention, this is an example TextingTest.

"NewMention" will have the correct styling, although the original mention, "TestingTest" does not.

kmgalanakis commented 9 years ago

Hi! I also noticed this kind of misbehaviour. Could you please fix this issue? Regards