MCPcopy Index your code
hub / github.com/PKM-er/obsidian-editing-toolbar

github.com/PKM-er/obsidian-editing-toolbar @4.0.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release 4.0.9 ↗ · + Follow
942 symbols 2,350 edges 69 files 46 documented · 5% updated 4d ago4.0.9 · 2026-07-05★ 1,446145 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

中文 | English

obsidian-editing-toolbar Plugin

[!tip] The 3.x version has been completely refactored with numerous new features. For advanced usage, please refer to: Editing Toolbar Plugin Advanced Guide · PKM-er/obsidian-editing-toolbar · Discussion #217"

Thanks to the cmenu plugin, which gave me a lot of inspiration, but this plugin has not been maintained for more than a year, so I re-modified it and added a lot of interesting features, including the top toolbar, cursor following, etc., so editing toolbar was created.

Obsidian Editing Toolbar is a plugin that provides a toolbar similar to MS-Word,and adds a minimal and user friendly text editor modal for a smoother writing/editing experience . This plugin makes text editing and firing commands easier for those that don't wish to configure a multitude of hotkeys.No need to remember complex markdown commands, similar to a rich text editor as WYSIWYG. This plugin was specifically designed for note-takers that want to have a simple text editor to aid in marking up their notes. It solves the issue of having to memorize numerous hotkeys and/or use multiple key presses to get the desired markup. A simple toolbar to improve your writing experience in Obsidian!

It is recommended to work with Enhanced Editing Plugin, which can add more useful editing commands.

TOC

how-to-install

Please Refer: How to install Obsidian Plugins

Video Introduction

About Cmenu toolbar

Obsidian 插件:Editing Toolbar 必装的可视化编辑工具

Key Features

This differs from the cmenu plugin in the following points:

  1. add a new toolbar style tiny

  1. add toolbar position options, top, following

3. support multi-window, multi-tab adapted to obsidian 0.14+ 4. add some built-in commands 1. change-font-color 2. change-background-color 3. indent-list 4. undent-list 5. editor-undo 6. editor-redo 7. hrline
will insert a --- split line 8. justify Both ends aligned Inserts an html code to align the text at both ends `

.....

9. left Insert an html code to align the text left

.....

10. right Insert an html code to align the text right

.....

11. center Insert an html code to center the text

.....

12. fullscreen-focus Default binding shortcut keyCtrl+shift+F11Will make the notes page display full screen, let you focus more on the writing itself. To exit full screen press ESC or execute the full screen command again 13. workplace-fullscreen-focus Default binding shortcut keyCtrl+F11Unlike fullscreen-focus mode, this one just hides the left and right sidebar panels, it's only workspace full screen 14. head 1-6 level heading settings Default binding shortcut keyCtrl+1,ctrl+2,...Ctrl+6` 15. support custom command icons 16. Support modify command name 17. Support for adding submenus 18. Support menu dragging and sorting 19. Add formatting brush function Built-in two kinds of formatting brush for font color and background color (middle mouse button or right click can cancel the formatting brush status) 20. Adaptive shrinkage of toolbar icon width

Work with other plugins

  1. emjoi toolbar Quickly Insert a emoji

  2. Obsidian-Table-Generator & ob-table-enhance Quickly Insert a table and edit

The above plugins are available from the example vault , all of which have been optimized and have some bugs fixed ☟☟☟

Full Vault showcase

This is the Obsidian example vault is amazing, there are a lot of dazzling features and showcase, I believe you will wonder a bit, is this Obsidian? Blue-topaz-examples

support

Thank you very much for your support!

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 512
Function 253
Interface 115
Class 62

Languages

TypeScript100%

Modules by API surface

src/ai/canvasScene.ts112 symbols
src/ai/AIEditorManager.ts98 symbols
src/types/obsidian.d.ts78 symbols
src/plugin/main.ts65 symbols
src/ai/AIService.ts53 symbols
src/modals/editingToolbarModal.ts43 symbols
src/modals/insertLinkModal.ts36 symbols
src/ai/PKMerAuthService.ts36 symbols
src/settings/settingsTab.ts34 symbols
src/modals/TextInputModal.ts34 symbols
src/ai/artifactNormalizer.ts34 symbols
src/ai/extensions/rewrite.ts30 symbols

For agents

$ claude mcp add obsidian-editing-toolbar \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page