What happens if instead of pasting it, you input it with OS emoji picker.
I can’t reproduce on win/chrome. The emoji being “different” is just a font issue.
If it happens here https://codemirror.net/, open an issue here https://codemirror.net/
Same thing with emoji picker…
same bug on codemirror.net…
I’ll file a bugreport I guess
This applies to more than just emojis. I use a transliteration scheme that makes use of the ‘COMBINING RETROFLEX HOOK BELOW’ (U+0322) codepoint to denote Tamil characters that have no english equivalent. For example:
t̨ d̨ n̨ l̨.
Obsidian does not seem to handle combining codepoints like these well. Instead, it treats these as two individual grapheme clusters, meaning that text editing gives them separate boundaries. But really they should have a single combined boundary.
(Note: I have a weird usecase but this applies to combining characters in general. Like this
a combined with a combining grave codepoint:
This is particularly bad when you try to use these characters in code blocks, where they appear as two different characters. (counter-example: this Discord forum renders them properly )
The issue reported in this BR was solved. It doesn’t need two keystrokes to delete an emoji.
@rahat regarding your problem.
Does it happen here https://codemirror.net/?