EmojioneArea is a small jQuery plugin that allows you to transform any html element into simple WYSIWYG editor with
ability to use Emojione icons.
The end result is a secure text/plain in which the image icons will be replaced with their Unicode analogues.
EmojioneArea uses awesome Emojione emojis.
So when emojionearea.js loads, it's require to emojione.js loaded too, but if it not loaded in the page then EmojioneArea loads it from CDN.
For avoiding this behavior you can add emojione.js and emojione.css into your page.
Customize emojione version
By changing value below you can change emojione version which will be loaded from CDN
By default, emojionearea container created directly under the source.
In this option you can specify custom jQuery|selector container.
type: jQuery|selector default: null
Examples:
<inputtype="text" id="emojionearea1" />
<inputtype="text" id="emojionearea2" />
<!-- ... --><divid="container1"></div><!-- #emojionearea2 plugin will use this container --><divid="container2"></div><!-- #emojionearea1 plugin will use this container --><script>$("#emojionearea1").emojioneArea({container: "#container2"// by selector});$("#emojionearea2").emojioneArea({container: $("#container1")// by jQuery object});</script>
tones
Whether to show the skin tone buttons in the emoji picker
请发表评论