Ctrl+E toggle Preview loses cursor focus

Steps to reproduce

  • Open a note with content. Place cursor while in Edit mode.
  • Ctrl+E to Preview the document.
  • Ctrl+E to switch back to Edit mode.

Expected result

Cursor should be where I left it before switching via Ctrl+E.
Window should still retain focus, so after 2xCtrl+E I can continue typing where I left off.

Actual result

Cursor is not present because the Editor window has lost focus. Typing does not work. Must click back inside document to regain focus and resume typing.


  • Operating system: Windows 10 64-bit
  • Obsidian version:0.6.0
  • Using custom CSS:No

Additional information


A fix will be available for the next release.

1 Like

Fixed in 0.6.1, moving to graveyard :coffin:.

1 Like