Delete Emoji (UTF Char) using Backspace

Steps to reproduce

  • Add to document Emoticon ex. :sun_with_face:
  • Try to delete it

Expected result

Backspace (on Windows) will delete an emoticon at one step

Actual result

I need to do two strokes:

Before key press:
image

After first key press:
image

After next key press:
image

Environment

  • Operating system: Windows 10
  • Obsidian version: 0.10.5
2 Likes

This is a codemirror bug. will be fixed once they fix it and we upgrade.

1 Like

For reference, here’s the upstream bug: Backspace on emoji produces question mark character · Issue #6544 · codemirror/CodeMirror · GitHub

It was fixed/merged on 12/29/2020 :tada:

@WhiteNoise is there somewhere we can track when this upgrade to CM is going to make its way to Obsidian?

Also, here’s a GIF I recorded earlier this morning, before I saw this bugreport, posting it here anyway…