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:

After first key press:

After next key press:


  • Operating system: Windows 10
  • Obsidian version: 0.10.5

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…

should be fixed in 0.11.7

1 Like


Fix doesn’t work
Obsidian 0.11.9 / Windows 10


This is emoji:

it works for me. Not sure if you have a very old installer version.


Example file (232 Bytes)

There seems to be a problem only with that specific emoji and monospace fonts. You can file a bug report directly to codemirror.

It’s possible that tag is grapheme cluster and codemirror doesn’t handle those well.