Open tjquillan opened 4 years ago
I am having the same issue. how did you manage to solve this issue?
I didn't. What I do now, in my case, is translate the emoji to its' short name using joypixels.toShort()
and then later use those names it provides on joypixels.shortnameToImage()
.
My solution is to store emoji's unicode, then later, for display, I use HTML entity with that code. For example: &x1f617;
:slightly_smiling_face:
is gone too, :cry:
still exist :cry:
I'm using shortnameToUnicode() method.
Last version ok: 5.0.5 First version nok: 5.5.0
:slight_smile:
which looks like an alias is ok
Yes also have this issue, :clown:
translates to Unicode but :clown_face:
does not.
:clown_face:
is an alternative short for :clown:
, somehow it does not get the alternatives.
Found a fix problem, went back to version 5 and now it works.
in client.php
I copied public function shortnameToUnicodeCallback($m)
from v5 to v6.6
And now :clown_face:
works in v6.6
Some short names such as the ones listed below do not work when passed to
joypixels.shortnameToImage()
:cowboy_hat_face:
:frowning_face:
:fist_oncoming:
:fist_oncoming:
:fist_left:
:fist_right: