Open CameronMilliken opened 1 month ago
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.)
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.
Reproduced
Where did you see the bug
Chrome Browser Version 125.0 (on Windows 10): Simplenote Web Version