Undo (Ctrl+Z) undoes more than one last step

I reported the bug to the CodeMirror developers. Their answer:

marijnh 8 days ago

Sorry, I’m not debugging problems that involve integrations. And more generally, not very sure that this is a CodeMirror bug. It sounds like the Obsidian link pasting behavior replaces the entire line, and that’s what’s causing this behavior.
marijnh closed this issue 8 days ago