Cannot switch to edit mode with certain notes

Steps to reproduce

  1. Create a note with the following text:
    Hola amigos
    2. Practical [^1].

    - [ ] Read also here:

  2. Switch to preview mode.

  3. Switch back to edit mode.

Expected result

Continue editing the note.

Actual result

Empty space, not being able to do further edits on this note in Obsidian. Had to switch to external editor.


  • Operating system: Windows 10 Corporate
  • Obsidian version: 0.8.1

Additional information

Issue with incorrect footnote usage, I guess. Probably whenever you have something beneath the footnote, things start to get dirty on rendering which is fine. But it shouldn’t prevent you from making further edits.

Also worth noting: Obsidian might have crashed because of this, but I’m not sure, could have closed the app accidentally.

thanks for the report

App crashes with:

Uncaught TypeError: Cannot read property '1' of null
    at Object.inlineNormal (markdown.js:843)
    at Object.token (markdown.js:1298)
    at Object.e.token (app.js:1)
    at readToken (codemirror.js:1172)
    at runMode (codemirror.js:1229)
    at highlightLine (codemirror.js:1075)
    at getLineStyles (codemirror.js:1119)
    at buildLineContent (codemirror.js:1752)
    at updateExternalMeasurement (codemirror.js:2364)
    at prepareMeasureForLine (codemirror.js:2400)

will be fixed 0.8.2