Obsidian users likely tend to move between files a lot, making changes. Undoing these changes after closing a pane and then reopening that file is useful, but currently impossible.
Implement persistent undo. As shown here
Be very careful about editing.
Using nvim (neovim) as the backend would solve this and many other editor related feature requests and problems.