ivirabyan / jquery-mentions

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

method to return marked up content? #3

Closed argonautical closed 9 years ago

argonautical commented 9 years ago

Documentation doesn't seem to list any methods that can be used to retrieve the mentions marked up value. Looking for a synchronous way to do that. Looked at the source but didn't see anything (maybe I missed it). Only saw public methods append, clear, and destroy.

ivirabyan commented 9 years ago

You're right, there is no such method. I used it inside of a form, so I didn't need this method. The plugin creates hidden input which contains markup value, which is used on a form submit. I will add the method in a few hours.

ivirabyan commented 9 years ago

I added method getValue()

argonautical commented 9 years ago

That's awesome. Thanks!