Akryum / vue-mention

Mention component for Vue.js
https://vue-mention.netlify.app/
MIT License
523 stars 54 forks source link

Emit event when removing a mention #80

Open bonavida opened 2 years ago

bonavida commented 2 years ago

I've taken a look to the code and it doesn't seem to be a way to get notified when a mention is being removed.

We're already being notified when a mention is getting applied, so why don't do the same for this? I think it would be super useful if anyone needs to manage mentions.

I guess I'll be able to manage them on my own in the meantime, but it would be a nice to have if the Mentionable component already provides support for that.

mwogates commented 2 years ago

@bonavida, did you find the way to manage them? Would be great if you can explain what kind of approach you are trying.

hassam-saeed commented 1 year ago

@mwogates I also need the event that should be emitted when we delete the selected mention and that should be pressing one time backspace only

For example, I mistakenly select @hello when I press backspace then @hello should be removed by emitting a specific event. Hope it makes sense

prezentaiSagar commented 1 year ago

+1