mervick / emojionearea

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

Show emoji on div container no text area needed #95

Closed ydaniels closed 7 years ago

ydaniels commented 7 years ago

Is it possible to use emojionarea without textarea

mervick commented 7 years ago

yes, it possible, you can use <input type="text"/> or even <div/> example https://jsfiddle.net/1v03Lqnu/201/

ydaniels commented 7 years ago

Oh sorry the question was a bit misleading. am saying for example if you use a <div /> tag it turns the div to an input area. I am trying to display the emoji without input. Just like the way our comment is being displayed after you submit it. I think emojionearea should support parsing of text in a div or p tag. It should convert any emoji characters found to the appropriate image representing the characters. Thanks

mervick commented 7 years ago

You can do this without emojionearea, but using emojione. I don't think what you can use CKEditor or TinyMCE or something else just for display content, editors designed for edit.

Refs: https://github.com/mervick/emojionearea/issues/48, https://github.com/mervick/emojionearea/issues/42, https://github.com/mervick/emojionearea/issues/80