shershen08/emoji-vue

请问表情怎么在别处显示

Closed this issue · 6 comments

jjxs commented

想把他录入数据库,还能提取出来显示

Can you describe a problem in English (or Russian) please ?

jjxs commented

How can the expression be displayed elsewhere?

i want to input it into a database, and can extract it.

you should add a input event listener to the
and the process it in the methods block:

<VueEmoji @input="onInput"/>

methods: {
  onInput (data) {
    // save `data` to DB
  }
jjxs commented

How can the picture be displayed?

image

onInput (data) {
this.myText = data.data
}

I can't really reproduce it. Would be easier if you could reproduce the problem demo on https://codepen.io/

This is probably something due to the encoding of the page or the font that is used.

No news on that one @jjxs ?

Closing for now, feel free to reopen if have any updates. I'd start with reproducing in codepen.io or in separate repository - then we can reason and test same thing and share a question with bigger community for help