[BUG?] cant undo in markdown files after coming back from preview to source

hi all.

Using latest DT 3.0.4 it seems that when I edit a markdown file, preview it and then come back to source, I loose the ability ti use undo. Is that by design or a bug?



That would appear to be a bug. @cgrunenberg will have to look at this after Easter holiday.

It’s due to the design. The changes are saved, the editor is closed and replaced with the preview. Split view might be a workaround.