Per-page undo?

If I navigate to page [[A]], make changes, then navigate to page [[B]], then come back to page [[A]], I’m unable to undo changes I previously made. Would enabling this be easy – like a CodeMirror setting?

No, this would be a feature to build: to somehow persist undo history per page, that’s not happening right now.

1 Like

Codemirror is able to serialize this I think, but it’s not trivial as you would have to consider syncs for example or changes made using SpaceLua.

1 Like

Makes sense.

Even if per-page undo history is not possible, it seems like all undo history is reset each time one navigates away from a page, is this right?

Is is possible to preserve a single global undo history even even as navigates to different pages?