Emoji not recognized after cyrillic symbols

I think we can make two changes to make this a little bit easier to use:

  • Emoji selector should insert a leading and trailing whitespace when it inserts an emoji.
  • Replacing of Unicode emojis should work even when there are no surrounding whitespaces.
    So, Hello🙂world should work the same as Hello 🙂 world and use the correct Emoji image from Discourse :slight_smile:.