Hi @marijn, I’m trying to build a history extension for managing one history across multiple editor instances. My plan is to wrap some of the functions from the basic History module so that whenever an editor is updated, that editor is added to a list. And then on undo and redo, I track where I am in that list and call the undo or redo for that editor. The problem I’m having is that I need to be able to store a reference to the EditorView in the combined history list, but I can’t seem to be able to get a reference to the EditorView from any of the functions responsible for creating the history state or from the editor state.
Is there a best way to get a reference to the EditorState? Or am I going about this all wrong?