davisriedel / obsidian-typewriter-mode

Typewriter Mode is a plugin that adds typewriter scrolling (current line stays at a fixed position on the screen), a highlight for the current line, dimming of unfocused paragraphs and more to Obsidian.
MIT License
74 stars 2 forks source link

BUG: Typewrite Mode can't handle data tables. #65

Closed ianTevesAcc closed 3 months ago

ianTevesAcc commented 5 months ago

The plugin has a type error when accessing a data table in Obsidian. The Type error happens when you have highlight underline on.

Steps to reproduce:

  1. Install Typewriter Mode plugin
  2. Turn on "highlight current line"
  3. create a data table
  4. click a cell of the data table or go up to it. (it may take a couple of mins to reproduce error.)

Expected the line highlighting to turn off. Instead it produces a type error and cannot select the data table cell.

Additional info: When highlight is off, the error is not reproduced, but the typewrite centering mode no longer works.

Files: image obsidian.md-1715418142370.log

davisriedel commented 3 months ago

Closed in favor of #61