Dragger

pending

by Ariestar

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

β˜… 169 starsUpdated 14d agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

English δΈ­ζ–‡

Dragger

Drag and drop any block to rearrange content in Obsidian β€” just like Notion.

Obsidian License Release Ask DeepWiki

gif

Features

  • 🧱 Block-level drag & drop β€” paragraphs, headings, lists, tasks, blockquotes, callouts, tables, code blocks, math blocks
  • πŸ“ Nested drag β€” horizontal position controls indent level; vertical position controls insertion row
  • πŸ”— Multi-line selection drag β€” long-press or click to select a range, then drag as a group
  • 🎨 Customizable handles β€” 4 icon styles (dot / grip-dots / grip-lines / square), adjustable size, color, and horizontal offset
  • πŸ“ Visual drop indicator β€” glowing line shows exactly where the block will land
  • πŸ“± Mobile support β€” works on Android (tested)

Installation

Community Plugins

Open Settings β†’ Community plugins β†’ Browse, search Dragger, and install.

BRAT (Beta)

  1. Install the BRAT plugin
  2. In BRAT settings, click Add Beta Plugin and enter:
    Ariestar/obsidian-dragger
    
  3. Enable the plugin in Settings β†’ Community plugins

Manual

Download main.js, manifest.json, and styles.css from the latest release, then copy them into:

<your-vault>/.obsidian/plugins/dragger/

Restart Obsidian and enable the plugin.

Usage

  1. Hover on the left edge of any block to reveal the drag handle
  2. Drag the handle to the target position β€” a glowing indicator shows where the block will be inserted
  3. Release to drop the block into place

Nested lists & blockquotes: move the cursor horizontally while dragging to control indent level.

Multi-line selection: long-press (touch) or click multiple handles to select a range, then drag the entire selection.

Mobile text long-press drag: when enabled, long-press a text line or rendered block content to drag a single block directly without reaching for the left handle.

πŸ’‘ Tip: Enable line numbers in Obsidian settings for a better experience β€” the handle appears right at the line-number gutter.

Settings

SettingDescriptionDefault
Handle colorFollow theme accent or pick a custom colorTheme
Handle visibilityHover / Always visible / HiddenHover
Handle icon● Dot / β Ώ Grip-dots / ☰ Grip-lines / β–  SquareDot
Handle size12 – 28 px16 px
Handle horizontal offsetShift handle left (βˆ’80) or right (+80) px0 px
Indicator colorFollow theme accent or pick a custom colorTheme
Multi-line selectionEnable range-select-then-drag workflowOn
Mobile text long-press dragOn mobile, long-press a text line or rendered block content to drag a single block directlyOn
Cross-file dragAllow dragging blocks into another open file editorOff
Drag source visual styleShared style set used by drag-source and list-drop highlights (Outline only / Subtle highlight / Filled highlight)Subtle highlight
Drag source highlightToggle highlight for the block being draggedOn
List drop highlightToggle highlight for list drop target areaOn

Compatibility

  • Obsidian β‰₯ 1.0.0
  • Desktop (Windows, macOS, Linux) + Mobile (Android tested)

Development

npm install
npm run dev       # watch mode with hot reload
npm run build     # production build
npm run test      # run Vitest suite (116 tests)
npm run typecheck # TypeScript type checking

Pre-review checks

Run these checks before pushing to ensure local results match AutoReview:

npm install
npm run lint:review
npm run typecheck
npm run test

lint:review is configured with --max-warnings=0, so CI/AutoReview blocker rules are enforced locally.

License

MIT

Contributing

PRs and issues are welcome!

If this plugin helps you, a ⭐ on GitHub would mean a lot.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.