needim / wdt-emoji-bundle

Slack like emoji picker with apple/ios, twitter/twemoji, google, emojione, facebook, messenger emoji support
http://ned.im/wdt-emoji-bundle
MIT License
420 stars 86 forks source link

When the textarea has an existing value and is emptied, then an emoji is inserted, the default textarea value shows #40

Open engamaraziz opened 7 years ago

engamaraziz commented 7 years ago

Hello,

When my textarea has value coming from the post data:

<textarea class="wdt-emoji-bundle-enabled wdt-emoji-open-on-colon" id="comment" name="comment" placeholder="Something..." type="textarea" autofocus>some text</textarea>

Then I manually remove the text completely and I insert and emoji, I get :smiley: some text instead of just :smiley:

EDIT: I just confirmed the bug exists in https://ned.im/wdt-emoji-bundle/ as well for the textarea input only.

Thanks for the high quality work.