TacticalFreak

Results 25 comments of TacticalFreak

Hmmm spotted something else This piece of code right there in emoji-mart.js, in the data() function: ``` if (this.emojisToShowFilter) { customEmojis = customEmojis.filter(function (e) { return _this.emojisToShowFilter(_this.parsedData.emojis[e] || e); });...

I confirm, I locally edited and commented ``` recentEmojis = recentEmojis.filter(function (e) { return _this.emojisToShowFilter(_this.parsedData.emojis[e] || e); }); ``` Now everything works!

I think .... it's because `recentEmojis` does not contain emojis object: it contains strings. ``` 0:"+1" 1:"grinning" 2:"kissing_heart" 3:"heart_eyes" 4:"laughing" 5:"stuck_out_tongue_winking_eye" 6:"sweat_smile" 7:"joy" 8:"scream" ``` Indeed there is no `parsedData`...

Actually, it crashes also in ``` customEmojis = customEmojis.filter(function (e) { return _this.emojisToShowFilter(_this.parsedData.emojis[e] || e); }); ``` Because in the custom emojis array there is no `parsedData` attribute, as per...

> @RedKage Is there any alternative solution for excluding specific emoji? It's been a while, I moved on to another UI and have now simple unicode emoji picker on desktop....

Uh, I just noticed something weird too: https://github.com/jm-david/emoji-mart-vue/blob/master/src/components/emoji/emoji.js There is an `import React from 'react'` I'm freaking out right now ahah Hopefully it is not used. :)

I'm adding more stuff, the more I am trying to make this work. This whole example doesn't work: ``` import data from 'emoji-mart-vue/datasets/messenger' import { NimbleEmojiIndex } from 'emoji-mart-vue' let...

Okay! The `NimbleEmojiIndex` does work well now! However I was looking for using `Emoji` outside of the component. Like calling directly ``` Emoji({ html: true set: 'apple' emoji: '+1' size:...

Well actually... I do not have all the info from the `NimbleEmojiIndex`. I am missing the skin tones for instance. And other stuff too, like the emoticon support. I guess...

For reference, here is what I did ``` parseEmojis (text) { let parsedText = text // parses :colon: tags const emojiRegex = /:([^:]*)/g let match = emojiRegex.exec(text) while (match) {...