fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

Get Current Tags #92

Closed devhossamali closed 5 years ago

devhossamali commented 5 years ago

Could you add a functionality for getting the current added tags as members?

image

current_tagged_members: 
[{
  name: "John",
  id: "123456"
},
{
  name: "Jen",
  id: "987654"
}]
fritx commented 5 years ago

Hi, it is related to #34, but again

It's hard to get the complete tagInfo like { name, id }, I think.

‘Cause if the html content was put from server as direct string field in response like

response = { atInput: '<em>@John</em> <em>@Jen</em> test comment' }

then <at> would be not able to detect what the hole tagInfo was.

devhossamali commented 5 years ago

Ok thanks