mervick / emojionearea

Emoji Picker Plugin for jQuery
https://jsfiddle.net/mervick/1v03Lqnu/765/
MIT License
955 stars 259 forks source link

How to display emojis as unicode characters in the editor? #377

Open ouuan opened 5 years ago

ouuan commented 5 years ago

I know there is no need to use emojione if I just want to display emojis in Unicode, but I want the editor of emojionearea: select the emojis and auto-complete emojis.

This has been asked in #221 and #230, but I can't find solutions in these two issues.

How can I display emojis in Unicode in the emojionearea editor? Or are there any other projects can do this?

mervick commented 5 years ago

Currently you can't. In next release I will add this feature

Emeritvs commented 5 years ago

You can do this by changing the following code on line 1722 of emojionearea.js:

image

ouuan commented 4 years ago

My workaround: replace every emoji img with {alt}

Vidhya-Dilip commented 4 years ago

My workaround: replace every emoji img with {alt}

Wow. It worked. Thanks a lot.