DCzajkowski / vue-emoji-picker

Very simple, yet powerful, vue emoji picker 🎉🔥🚀
MIT License
332 stars 49 forks source link

Emoji Win 7 B&W #5

Closed StasiukYurii closed 6 years ago

StasiukYurii commented 6 years ago

Hi! I have this bug with Win 7 and your component. I know, I will have to change Emoji-default object via props "emojiTable", but I can't find acceptable object. Can you help? Thanks for your emoji-component.

DCzajkowski commented 6 years ago

Sure thing! The default object is here: https://github.com/DCzajkowski/vue-emoji-picker/blob/master/src/emojis.js

Just copy-paste it into its own file (like: emojis.js) and then just use it:

<template>
    <textarea v-model="input"></textarea>

    <emoji-picker @emoji="insert" :search="search" :emojiTable="emojiTable">
        <!-- -->
    </emoji-picker>
</template>

<script>
import emojiTable from './emojis.js'

export default {
    data() {
        return {
            emojiTable,
            input: '',
            search: '',
        }
    },
    methods: {
        insert(emoji) {
            this.input += emoji
        },
    },
}
</script>
StasiukYurii commented 6 years ago

I probably incorrectly expressed. I need to replace the emoji object with one that I will be compatible with Win 7. Do you understand me? https://prnt.sc/kb7v47

DCzajkowski commented 6 years ago

I understand, but to be clear, I have no clue which emojis are supported on Windows and which are not. You'd need to pick those that are supported, and remove those, that are not

DCzajkowski commented 6 years ago

I am going to close this, as different versions of Windows have support for different emojis and I can't help with picking the right ones.

dpmango commented 5 years ago

@mr-stasyuk Have you been able to find out any solution? Im facing the same issue now and believe the only option is the replace emoji symbols with images

DCzajkowski commented 5 years ago

@dpmango There are other emoji pickers that support images, so they may come useful 😉