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

New Emojis! #42

Open
brunocrosier opened this issue Mar 22, 2018 · 1 comment
Open

New Emojis! #42

brunocrosier opened this issue Mar 22, 2018 · 1 comment

Comments

@brunocrosier
Copy link

Thanks for the great work :)

Many emojis have been added since the last updated to wdt-emoji-bundle

(for example, the England flag!)

I notice that https://github.com/iamcal/emoji-data has a complete list

Would it be possible to add all of the new emojis here? Or could you explain how to do it and I'll do it?

:)

Thanks!

@callmeclover-alt
Copy link

Hey man, i found this, and i think i know how to do that.

In the wdt-emoji-bundle documentation:

Tell the widget where to get the sheets from

wdtEmojiBundle.defaults.emojiSheets.apple = './sheet_apple.png';        // default /sheets/sheet_apple_64.png
wdtEmojiBundle.defaults.emojiSheets.google = './sheet_google.png';      // default /sheets/sheet_google_64.png
wdtEmojiBundle.defaults.emojiSheets.twitter = './sheet_twitter.png';    // default /sheets/sheet_twitter_64.png
wdtEmojiBundle.defaults.emojiSheets.emojione = './sheet_emojione.png';  // default /sheets/sheet_emojione_64.png
wdtEmojiBundle.defaults.emojiSheets.facebook = './sheet_facebook.png';  // default /sheets/sheet_facebook_64.png
wdtEmojiBundle.defaults.emojiSheets.messenger = './sheet_messenger.png';  // default /sheets/sheet_messenger_64.png

And

Set emoji set default sheet (this has to be done before the init)

wdtEmojiBundle.defaults.emojiType = 'apple';

So just make a custom one and use the sheet.

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