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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Better Canvas Lock

mara-limara-li5k downloads

Enhance the read-only mode in Canvas with fully lock the scroll, zoom, drag-and-drop in read-only!

Add to Obsidian
  • Overview
  • Scorecard
  • Updates11

Experimental plugin for Obsidian, that lock the "view" of canvas. You can disable:

  • Zoom
  • Selection of canvas
  • Drag and drop of canvas
  • Scroll

It will monkey-patch the lock function using monkey-around, so you just need to enable the plugin to make it work. Also, canvas are detected on the active-leaf-change.

You can also enable/disable the logs in the console. Beware, because the logs spam the console, and you will see redondant error.

[!NOTE] For some "usefulness", the dragging / scrolling is enabled when a canvas card is focused, so you can move freely the canvas and adjust the view (SHIFT+2) on a specific card if you need. To disable again the dragging, just click away (or escape) from the canvas card.

https://github.com/mara-li/obsidian-better-canvas-lock/assets/30244939/c5359f72-2234-4959-a094-87c7c51a3372

📥 Installation

  • From Obsidian's community plugins
  • Using BRAT with https://github.com/mara-li/obsidian-better-canvas-lock
  • From the release page:
  • Download the latest release
  • Unzip better-canvas-lock.zip in .obsidian/plugins/ path
  • In Obsidian settings, reload the plugin
  • Enable the plugin

🤖 Developing

To make changes to this plugin, first ensure you have the dependencies installed.

pnpm install

To start building the plugin with what mode enabled run the following command:

pnpm run dev

Note If you haven't already installed the hot-reload-plugin you'll be prompted to. You need to enable that plugin in your obsidian vault before hot-reloading will start. You might need to refresh your plugin list for it to show up. To start a release build run the following command:

pnpm run build

Note You can use the .env file with adding the key VAULT_DEV to specify the path to your Obsidian (development) vault. This will allow you to test your plugin without specify each times the path to the vault.

📤 Export

You can use the pnpm run export command to export your plugin to your Obsidian Main Vault. To do that, you need the .env file with the following content:

VAULT="path/to/your/obsidian/vault"
VAULT_DEV="path/to/your/dev/vault"

🎼 Languages

  • English
  • French

To add a translation:

  • Fork the repository
  • Add the translation in the src/i18n/locales folder with the name of the language (ex: fr.json)
  • Copy the content of the en.json file in the new file
  • Translate the content
  • Create a pull request
69%
HealthFair
ReviewSatisfactory
About
Lock the canvas view to prevent accidental zooming, drag-and-drop, and scrolling. Patch the canvas lock to apply automatically when switching canvases and temporarily re-enable dragging/scrolling while a canvas card is focused.
Canvas
Details
Current version
0.0.15
Last updated
2 years ago
Created
3 years ago
Updates
11 releases
Downloads
5k
Compatible with
Obsidian 0.16.0+
License
GPL-3.0
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
mara-limara-li
github.com/Mara-Li
GitHubmara-li
  1. Community
  2. Plugins
  3. Canvas
  4. Better Canvas Lock

Related plugins

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Canvas Send to Back

Move cards in canvas to the top or behind all other cards.

Simple CanvaSearch

Quickly fuzzysearch notes, cards and their content and shift focus to them within the currently opened canvas.

Canvas Mindmap

Make your canvas work like a mindmap.

Caret

An AI workbench. Canvas, Chat and more LLM powered features.

Canvas Mindmap Helper

Make the Canvas work like a mindmap.

HiWords

Effortlessly grow your vocabulary as you read, with automatic highlighting and translation of unfamiliar words.

Lovely-Mindmap

Build your own knowledge graph with smiles :-)

CardNote

Quickly extract your thoughts in the Canvas and Excalidraw.

Canvas LLM Extender

Let the OpenAI LLM / GPT add nodes to your canvas for you.