Backspacing emoji doesn't delete the entire unicode sequence

Related to: Gender/skin emoji problems in Editor (Codemirror)

Steps to reproduce

  • Insert an emoji character (e.g. :family_man_boy_boy:)
  • Press backspace

Expected result

  • The entire emoji is removed.

This happens for all emojis, not just emojis with modifier sequences.

Actual result

  • You end up with::family_man_boy:‍�

It takes 6 backspaces to delete this character.


  • Operating system: macOS
  • Obsidian version: 0.10.1

Additional information

A post was merged into an existing topic: Gender/skin emoji problems in Editor (Codemirror)