Michael Naumov148 downloadsPublishes named, typed workspace events the public API does not expose, so other plugins can react without patching internals. A growing set, starting with core and community plugins being enabled and disabled.
A home for the events Obsidian does not publish. More Events publishes them on app.workspace, named, typed and per subject, so any plugin can subscribe with no dependency beyond obsidian itself.
Without it, a plugin that needs such an event reads undocumented internals or patches a shared prototype, and two plugins doing that in one vault means two patches on one prototype. This plugin patches once, for everybody. The first set of events is plugin lifecycle, the second is context menus, and more sets follow under the same contract. It has no user interface: the screenshots show another plugin reacting to its events.
The documentation is a demo vault. Its notes explain what the events are and when they fire, with buttons that subscribe to them live so you can toggle a plugin in Settings and watch them arrive.
Start reading here — it is plain markdown, so it works on GitHub with nothing installed.
A copy of the vault ships with every release. You can access it via any of the following:
More Events: Open demo vault command.more-events-demo-vault.zip from the Releases. It unzips into a single more-events-demo-vault-<version> folder.demo-vault/ in this repository.Every event fires on app.workspace.
Plugin lifecycle events, for example more-events:core-plugin-enabled: see 01 Core plugin events and 02 Community plugin events.
Context menu events, for example more-events:all-properties-menu, so listeners can add items before a menu opens: see 04 Context menu events.
File events, for example more-events:new-file-ready, which fires once a new file holds its content, even when obsidian://new writes it after creating it: see 06 File events.
Canvas events, for example more-events:canvas-selection-changed, and a hook to add a button to the toolbar above a canvas selection: see 07 Canvas events.
Task events: more-events:task-checkbox-clicked, which fires after a task's checkbox was clicked and Obsidian toggled the task, in Reading view as well as in Live Preview: see 08 Task events.
Command events, for example more-events:command-executed, after Obsidian dispatches a command: see 09 Command events.
Workspace events, for example more-events:leaf-closed, plus Reading-mode and preview completion signals: see 10 Workspace events and 11 Index readiness.
Configuration events, for example more-events:config-changed, naming the native vault configuration key: see 12 Configuration events.
Sync events: more-events:sync-status-changed, for example syncing to synced when the vault goes idle: see 13 Sync events.
Mobile keyboard events, for example more-events:mobile-keyboard-shown with the keyboard's height, once the on-screen keyboard is up: see 14 Mobile keyboard events.
| Plugin | Features | How More Events differs |
|---|---|---|
Advanced Canvas |
Canvas styling, presentations and flowcharts; publishes canvas events other plugins subscribe to, including viewport, node render, drag, undo and redo; request events a listener can answer to change the canvas | Covers part of Advanced Canvas: only its canvas events; adds: events for plugins, menus, files, commands, tasks, the workspace, Sync and the mobile keyboard; omits: canvas features for users, and events that let a listener change what Obsidian does |
Vault Automation |
Frontmatter-change and path events filtered by folder, key or value; note, property, canvas and window actions for adapter plugins | Overlaps Vault Automation's frontmatter events; adds: every other event set, and a typed contract a plugin can copy; omits: actions, filters and adapters |
Last searched for similar plugins on 2026-11-23.
The events and the API are declared in api.d.ts, which imports nothing but obsidian. The events need no API handle: copy the declarations into your project, or hardcode the names, and subscribe:
this.registerEvent(
this.app.workspace.on('more-events:core-plugin-enabled', ({ corePluginId, corePluginName, isUserInitiated }) => {
if (isUserInitiated) {
console.log(`${corePluginName} (${corePluginId}) is back, because someone turned it back on`);
}
})
);
this.registerEvent(
this.app.workspace.on('more-events:bookmarks-menu', (menu, bookmarks) => {
menu.addItem((item) => {
item.setTitle(`Log ${bookmarks.length} bookmark(s)`).onClick(() => {
console.log(bookmarks.map((bookmark) => bookmark.path ?? bookmark.title));
});
});
})
);
For the current state, and to know whether More Events is installed at all, take the API through the registry. The contract is 1.15.0 and moves independently of the plugin's own version, so ask for a range.
Beside api.d.ts, api-contract.ts holds the API's contract, MORE_EVENTS_API_CONTRACT: for every method, a schema over its arguments and a schema over what it returns. Copy it next to api.d.ts and pass it as the contract, so both sides check the same definition. It imports from one package besides ./api.d.ts, @mnaoumov/typescript-lib (1.3.0 or later). More in 03 For plugin developers.
import { watchPluginApi } from '@mnaoumov/obsidian-lib/plugin/plugin-api';
import type { MoreEventsApi } from './api.d.ts';
import { MORE_EVENTS_API_CONTRACT } from './api-contract.ts';
const moreEventsApiRef = watchPluginApi<MoreEventsApi>({
apiVersionRange: '^1',
app: this.app,
component: this,
contract: MORE_EVENTS_API_CONTRACT,
pluginId: 'more-events'
});
// `value` is always current and never stale: it is `null` while `More Events` is not loaded, and becomes
// non-`null` on its own when it is.
const moreEventsApi = moreEventsApiRef.value;
if (moreEventsApi) {
console.log(moreEventsApi.getEnabledCorePluginIds());
console.log(moreEventsApi.isCorePluginEnabled('backlink'));
console.log(moreEventsApi.getEnabledCommunityPluginIds());
console.log(moreEventsApi.isCommunityPluginEnabled('dataview'));
}
If you would rather not depend on @mnaoumov/obsidian-lib for that, the registry is a documented wire protocol you can read directly — see Cross-plugin APIs.
The plugin is available in the official Community Plugins repository.
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
Add plugin button once and wait a few seconds for the plugin to install.By default, debug messages for this plugin (id: more-events) are hidden.
If you need to enable them refer to the documentation.
All notable changes to this project will be documented in the CHANGELOG.
Contributions are welcome — see CONTRIBUTING to get set up.
Open issues through the issue forms, not as blank issues.
To report a bug from inside Obsidian, run the More Events: Report a bug command. It opens the bug form with the plugin version, the Obsidian version and your operating system already filled in.
Filing from the CLI or the API (gh issue create --body, or an AI agent filing for you) skips the form, and gh issue create --template cannot load an issue form. In that case, open the matching form in .github/ISSUE_TEMPLATE/, copy every field as a ### <label> heading in the form's order, and fill in each one. Always state the plugin version, the Obsidian version and your operating system.