jmadler / emoji-picker

Add a slick emoji selector to input fields and textareas on your website.
Other
1.31k stars 318 forks source link

picker loading images from website root path instead of lib "img" directory #34

Open lrdvdr opened 8 years ago

bejayoharen commented 7 years ago

This is not explained in the docs and should be, but if you look closely at the demo code, you will see that you must set the assets path:

window.emojiPicker = new EmojiPicker({ emojiable_selector: '[emojiable=true]', assetsPath: 'your/path/here', popupButtonClasses: 'fa fa-smile-o' });

Deewai commented 6 years ago

@bejayoharen thank you so much. You just saved me a lot of trouble. Truly their docs is not well explained