Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Custom Context

Gabriel RibeiroGabriel Ribeiro97 downloads

Customize the editor right-click context menu by hiding items and adding commands.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Obsidian plugin that lets you customize the context menu (right-click) in the editor.

What it does (v1)

On right-click inside a note in edit mode (Source or Live Preview):

  • Hide menu items by visible title (native items or from other plugins).
  • Add Command Palette commands and separators, in the order you define.
  • Wrap in callout: when you right-click inside a code block, an option appears to wrap the block in an Obsidian callout (> [!note], etc.). Also available from the Command Palette. In Settings → Custom Context → Plugin commands, choose which plugin commands appear in the context menu.

Items you do not hide stay in the menu; extras are appended at the end.

How to use

  1. Install the plugin and enable it in Settings → Community plugins.
  2. Open Settings → Custom Context.
  3. Under Hidden items, add titles exactly as they appear in the menu (e.g. Cut, Paste). Matching is case-insensitive.
  4. Under Extra items, add commands (any Command Palette command, including other installed plugins) or separators. Use the arrows to reorder.
  5. Right-click in the editor to see the updated menu.
  6. For Wrap in callout, place the cursor inside a code block, right-click and select the option (or use the Command Palette). The default type is set under Default callout type in settings.

Development install

npm install
npm run dev

Copy main.js, manifest.json, and styles.css to:

<Vault>/.obsidian/plugins/custom-context/

Reload Obsidian and enable the plugin.

Current scope and future

Now: editor menu only (editor-menu).

Possible extensions: other menus (file explorer, tabs, links), folder/note rules, and deeper integrations with other plugins. Commands from already installed plugins can already be added via the palette in v1.

Limitations

  • There is no official Obsidian API to remove or reorder native items; the plugin hides them via the DOM after the menu is built.
  • Reordering native items is not part of v1.
  • Hiding by title affects any item with that text in the editor menu.

License

0-BSD (see LICENSE).

HealthExcellent
ReviewSatisfactory
About
Customize the editor context (right-click) menu by hiding native or plugin items by visible title and appending Command Palette commands or separators in the order you choose. Add a Wrap in callout action to wrap code blocks as Obsidian callouts, accessible from the menu or Command Palette.
CommandsInterface
Details
Current version
1.0.2
Last updated
2 weeks ago
Created
3 weeks ago
Updates
3 releases
Downloads
97
Compatible with
Obsidian 1.13.7+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
Gabriel RibeiroGabriel Ribeirogrmglib
GitHubgrmglib
  1. Community
  2. Plugins
  3. Commands
  4. Custom Context

Related plugins

Note Toolbar

Add customizable toolbars to your notes.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Lean Terminal

Embedded terminal panel powered by xterm.js and node-pty - no external windows.

Hotkey Helper

Easily see and access any plugin's settings or hotkey assignments (and conflicts) from the Community Plugins tab.

Tray

Run Obsidian from the system tray for customisable window management and global quick notes.

Slash Commander

Customize the slash command list, assign each command an icon.

Refresh Any View

Allows to refresh any view without reopening it.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.