Open wzjachow opened 3 years ago
I've used the prettifier and then ctrl+z, (undo) and it reverts the changes.
I personally use git to keep the history of all changes in my notes, maybe it can be useful to you.
On Mac Undo does not work. Tested many times and each time same result -> lost of the entire document.
Gif demo: https://streamable.com/cq8cuw
I see, I don't know what's going on, and I cannot reproduce in my Linux.
I've just searched for 'there is no line... in the document' in the code and libraries, and I cannot find any reference. Perhaps there is a clash of plugins I don't know.
I'll reopen this in case that if someone has another clue.
I created a new vault with default settings and Markdown Prettifier plugin installed only (default settings too). The result is the same.
Accidentally, I ran prettifier (with shortcut) when I had the entire document selected. As a result, I got the notification 'There is no line 127 in the document' and the document has been cleared. The worst thing about it is that this action can't be revoked I don't know if this is an issue with the plugin or obsidian itself but I would expect to be able to revert any changes made in the document.