globals/vars/activeDocument
Mock of Obsidian’s global activeDocument variable.
Variables
Section titled “Variables”| 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. |