-
Notifications
You must be signed in to change notification settings - Fork 61
Example To Insert The Emoji to Text Input/Textarea #42
Comments
It depends on the support of your operating system and browser if you insert the unicode straight into a text field. As draftJS is built on React/HTML you would be better to insert an actual image I think... Take a look at this plugin that you could use alongside or instead of this picker: |
It depends on the support of your operating system and browser if you Take a look at this plugin that you could use alongside or instead of this On Thu, Oct 20, 2016 at 9:07 PM, Agung Surya Bangsa <
Tom Moor |
Hi, how to actually insert the emoji to the text input/textarea?
My current project is using this plugin to pick emoji. Whenever user pick the emoji, the following function is triggered:
I use the DraftJS for the editor. Whenever I pick the emoji, the unicode is inserted to the editor but it doesn't display the emoji (it displays the raw unicode instead). Is there a step I am missing in using the emoji? Or is it the problem with DraftJS?
Thanks.
The text was updated successfully, but these errors were encountered: