needim / wdt-emoji-bundle

Slack like emoji picker with apple/ios, twitter/twemoji, google, emojione, facebook, messenger emoji support
http://ned.im/wdt-emoji-bundle
MIT License
419 stars 87 forks source link

New Emojis! #42

Open brunocrosier opened 6 years ago

brunocrosier commented 6 years ago

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 commented 1 year ago

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.