deathau / Notation-for-Obsidian

A theme for Obsidian, inspired by and borrowing elements from Notion
The Unlicense
193 stars 26 forks source link

Live Preview doesn't seem to work in Edit mode #9

Open powershellpr0mpt opened 2 years ago

powershellpr0mpt commented 2 years ago

Had a huge shock this morning when I was presented with the option for Live Edit mode and I enabled the option. All my notes were now empty, except for the title.

When switching to Preview mode everything was fine again, content was not lost. Confirmed through VSCode, nothing was lost.

Switching to default theme [or another theme] showed everything as expected, switching back to Notation gave the same issue again.

reagantrose commented 2 years ago

Same issue. Seems like it will work briefly if I disable then enable the Notation theme, but as soon as I open a new note I can't see any of the content while in Live Edit mode.

warm-july commented 2 years ago

same issue here!

Skywt2003 commented 2 years ago

Same issue T_T

Skywt2003 commented 2 years ago

I found a temporary solution: comment the 730-732 lines in css:

/* .workspace-leaf-content[data-type=markdown] .view-content {
  height: auto;
} */

and everything will be fine again.

reagantrose commented 2 years ago

I found a temporary solution: comment the 730-732 lines in css:

/* .workspace-leaf-content[data-type=markdown] .view-content {
  height: auto;
} */

and everything will be fine again.

Thanks for this! Worked like a charm.