Closed dylanjha closed 7 years ago
Wow cool pr thanks @dylanjha. 👍 I will test this. Sorry for the late response.
@needim I will likely need to revisit this to get it mergable. Are you interested in getting this functionality into the library?
@dylanjha Yep sure.
@needim did you test this out before merging?
Nope 😄 But I'm testing now and it's working good right now 😄 I'm planning a release soon, thanks again for the feature. 😉
TODO
Thanks for building and maintaining this library @needim .
I added a few things:
1. Documentation in README
2. Expose
afterSelected
event3. Add (optional) slack-like functionality to open the picker when a user types
:
followed by 2 non-space characterswdt-emoji-open-on-colon
to the input that is getting the emoji picker applied to itinput
it doesn't work on content-editable elements (this functionality can be added before merging)If you like these changes I'm happy to add the colon functionality to contenteditable elements, rebase, clean up the commit history and get it merged in to the source. Please let me know! 🍻