Skip to content

globals/vars/activeDocument

Mock of Obsidian’s global activeDocument variable.

Variable Description
activeDocument The actively focused document, which Obsidian points at a pop-out window’s document while that window has focus. The mock has no pop-out windows, so it is always the global document.