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

Editor Mode Button

kubaxiuskubaxius763 downloads

Adds a button to toggle global editor mode.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

I made this plugin because Obsidian only has a "Default editing mode for new notes" setting, and that never felt like enough to me. I wanted notes to work more like Vim modes or a blog editor: one clear mode for reading, and one clear mode for editing.

It makes the separation between editing mode and reading mode clear. When you switch Default view for new tabs, it applies not only to newly opened files, but also to the ones that are already open.

CSS

You can easily change how Obsidian looks in both modes. Just create a CSS file in your vault, and set its path in the settings.

body.emb-use-default-styles.emb-mode-source .view-header {
    --file-header-background-focused: rgb(45, 25, 0);
    --file-header-background: rgb(25, 0, 0);
}

body.emb-use-default-styles.emb-mode-preview .view-header {
    --file-header-background-focused: rgb(25, 25, 25);
    --file-header-background: rgb(0, 0, 0);
}

All styles that should be visible in a specific mode should be placed either in the body.emb-mode-source selector (for editing mode), or in body.emb-mode-preview (for reading mode). The custom CSS will override the default styles.

Default reading mode

Reading Mode Top Bar

Default editing mode

Editing Mode Top Bar

Ribbon indicator

There's an indicator on the ribbon that shows which mode you are in. You can click it to quickly switch modes, and when you do, all open files will change their mode too.

Mode Indicator

Commands

Toggle default mode for new tabs is already a command, but due to the limitations of the Obsidian API it can take a second to register new CSS when using it. To avoid that delay, this plugin includes a new command:

Editor Mode Button: Switch editor mode and reload files.

You can add a keyboard shortcut for it if you feel like it, in the Hotkeys category in the Obsidian settings.

HealthExcellent
ReviewSatisfactory
About
Switch between distinct reading and editing modes for all open notes, and apply the chosen default to new tabs. Style each mode with custom CSS and use the ribbon indicator or built-in command to toggle modes and reload open files.
EditingCSS
Details
Current version
1.0.3
Last updated
2 months ago
Created
2 months ago
Updates
4 releases
Downloads
763
Compatible with
Obsidian 1.7.2+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
kubaxiuskubaxius
bearworks.pl/
GitHubkubaxius
  1. Community
  2. Plugins
  3. Editing
  4. Editor Mode Button

Related plugins

CSS Editor

Edit CSS snippet files.

Lapel

Show the heading levels in the gutter of the editor.

Show Whitespace

CSS styles and CM6 extensions to highlight whitespace in Source and Live Preview modes.

Focus Mode

Add a toggle to hide interface elements so you can focus on your note.

Animated Cursor

Simple yet smooth animated cursor.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

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

Advanced Tables

Improved table navigation, formatting, and manipulation.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.