Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Notice] To anyone trying to use in 2020 with fontawesome 5 #151

Open
Puyodead1 opened this issue Apr 3, 2020 · 1 comment
Open

[Notice] To anyone trying to use in 2020 with fontawesome 5 #151

Puyodead1 opened this issue Apr 3, 2020 · 1 comment

Comments

@Puyodead1
Copy link

Took me a while of messing around to figure this out, but if emojis are not showing, here's why...
you need to add this to your page:

$(function() {
            window.emojiPicker = new EmojiPicker({
                emojiable_selector: '[data-emojiable=true]',
                assetsPath: '/path/to/emoji-picker/img/',
                popupButtonClasses: 'far fa-smile'
            });
            window.emojiPicker.discover();
        });

the demo uses fontawesome 4 and an emoji name that does not exit. so you need far fa-smile

@pabloldeoliveira
Copy link

This worked for me, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants