Emphasis (bold, italic) shortcuts incorrectly place mouse

Steps to reproduce

  1. Either:
    • Alt-Tab from and to Obsidian
    • Hit End
    • Click near end of desired line
  2. Bold or Italicize via Ctrl + B | I

Expected result

Cursor is properly centered in either 2 or 4 emphasis indicators (asterisks by default)

Actual result

Cursor is at the end of these indicators


  • Operating system: Win10
  • Obsidian version: v0.11.13

Additional information

Tested in unmodified help vault

I am not sure I consider this a bug. Ctrl-b, ctrl-i are for making the selected text highlighted. You have nothing selected. This is a feature request. * and ** behave the way you want.