Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Question about "smiling face" emoji #47

Closed
MorningSleeper opened this issue Apr 19, 2020 · 2 comments
Closed

Question about "smiling face" emoji #47

MorningSleeper opened this issue Apr 19, 2020 · 2 comments

Comments

@MorningSleeper
Copy link

MorningSleeper commented Apr 19, 2020

Hi, do you know why when I select a colored emoji to be inserted into a form field most show the exact colored emoji in the form field while at least one named "smiling face" shows a colorless version? My script inserts the comma before it and it occurs whether that is done or not. I tried in latest Chrome and Firefox. I have <meta charset="UTF-8"> in documents head section. I included a screen capture that loops twice below.

example

@joeattardi
Copy link
Owner

I ran into this early on and it drove me crazy, I couldn't figure it out. Luckily, the fix is easy. You need to use the system emoji font on your text area. This should cover it for all major platforms:

font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";

Give that a try, and feel free to close the issue if that fixes your problem - which I think it probably will!

@MorningSleeper
Copy link
Author

That fixed it, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants