Mastodon: Some emoji won't be replaced with SVG

Created on 13 Jun 2017  路  7Comments  路  Source: tootsuite/mastodon

:one: :two: :three: :four: :five: :six: :seven: :eight: :nine:

image

These characters seems to be missing from regex pattern in emojione.js (https://github.com/emojione/emojione/issues/490), but it wouldn't be fixed on v2 since it is outdated.

Possible solutions are...

  • Fork and edit regex pattern
  • Update emojione to v3 (but this breaks emojione-picker, so we have to fix it)
  • anything else?

  • [x] I searched or browsed the repo鈥檚 other issues to ensure this is not a duplicate.
  • [x] This bug happens on a tagged release and not on master (If you're a user, don't worry about this).
bug ui

Most helpful comment

Should we use Twemoji (Twitter's emoji)? It seems a bit odd at best that we would resort to that...

All 7 comments

Change emoji pack (discourse discussion)?

Should we use Twemoji (Twitter's emoji)? It seems a bit odd at best that we would resort to that...

I mean is there really another alternative? If EmojiOne won't release an open source, up-to-date pack, Twemoji seems like a logical solution.

I thought using emojione 3 js (MIT licensed even now) and emojione 2 images, but this approach seems bit complicated. So changing to another packs would be a good idea.

(Actually, we're using twitter-text already.)

I'd say open a PR on emojione; I've been working with them a bit and they seem open to improvements: https://github.com/emojione/emojione

I think the question is if this is really worth fixing, since we need to update the emoji pack anyway (this one does not support the latest emoji), which would also fix this issue.

This issue was solved at #4049.

Was this page helpful?
0 / 5 - 0 ratings