Issue with Editing When Clipboard Has Content

Steps to reproduce

Issue: Issue in Editor - If I have a hyphen as the first character in a line and hit tab, it does random funny things. It hides the hyphen from view, and sometimes hides parts of the text as well. And all levels of Ordered lists are hidden.

To Recreate:

  1. Enter a hyphen “-” as the first item in a line on the editor.
  2. Click tab. Or space
  3. Type something.

Expected result

I’d expect to be able to view the hyphen and all of the words I type in the editor

Actual result

The hyphen was hidden and part of a letter was sometimes hidden. Everything looked fine in the preview pane


  • Operating system: Windows 10
  • Obsidian version: 0.6.3
  • Using custom CSS: Obsidian Nord

Additional information


Ok I can reproduce. There is something special that confuses the parser in the first line.
It seems that if you to type - and tap everything it interpreted as fenced code block in my case.

what does this have to do with the clipboard though?