Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Red Heart Emoji Showing Up White #3202

Open
CameronMilliken opened this issue May 24, 2024 · 1 comment
Open

Red Heart Emoji Showing Up White #3202

CameronMilliken opened this issue May 24, 2024 · 1 comment
Labels
bug Something isn't working [feature] editor Anything related to the editor. [OS] windows

Comments

@CameronMilliken
Copy link

CameronMilliken commented May 24, 2024

Why is the red heart (\u2764\uFE0F) in Simplenote converted to the black one (\u2764)?

If I use the shortcut “WINDOWS + .” the emoji panel opens and I can select the red heart (\u2764\uFE0F). If I do so it will be transformed to the simple white/black one (\u2764). If I input the red heart somewhere else first and copy it in it will stay like the original. The heart with the stars as comparison works fine both ways (as do also all other emojis in simplenote).

Would it be possible to correct this behaviour, since the red heart is the only emoji that does not input as all the others? The black/white heart is sad to look at but then also bothersome to copy+paste the heart continuously. Thank you! :)

Expected

Using the red heart emoji should look like the emoji and not change to a white emoji.

Observed

The emoji can be copied and pasted to the correct red emoji. It cannot be selected from the emoji selection as it changes to white.
Screenshot 2024-05-24 at 10 44 46 AM

Reproduced

  1. Open app.simplenote.com
  2. start a new note
  3. use the shortcut to pull up the emoji options
  4. select the normal red heart.
  5. I should appear white in the body but in the side preview it shows the correct red heart

Where did you see the bug

Chrome Browser Version 125.0 (on Windows 10): Simplenote Web Version

@CameronMilliken CameronMilliken added the bug Something isn't working label May 24, 2024
@codebykat
Copy link
Member

codebykat commented May 26, 2024

Thanks for the report, @CameronMilliken. A couple of baffling things here, including that it is the correct heart in the preview, but incorrect in the editor itself (am I understanding that correctly?). But that you are able to paste the correct heart into the editor without it turning white. 🤔

From the examples you posted, it sort of looks like it's losing the second code-point, but this isn't happening for me on OSX. I'm assuming from your screenshot that you don't have access, via the emoji picker, to any other emoji that are two code-points wide (e.g. one of the skin-tone or gender variations)?

If you insert the heart (getting the white heart), then reload the page, does it change to a red heart, or stay white?

Does the same behavior happen in other browsers, or just in Chrome?

Also, are you able to reproduce the problem on the Monaco "playground" site, here?

(Monaco is our embedded editor component and provides most of the actual text editing UI, which is why I suspect this may be an upstream bug.)

@codebykat codebykat added [OS] windows [feature] editor Anything related to the editor. labels May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working [feature] editor Anything related to the editor. [OS] windows
Projects
None yet
Development

No branches or pull requests

2 participants