Skip to content
master
Switch branches/tags
Code

Latest commit

…w / File from the Editor class

- Update my custom Type definition file to remove the view property from the Editor interface as it is no longer valid
- Made the drop event listener async
- Updated the findBlockTypeByLine() function to account for blank empty lines
- Tried to troubleshoot an Obsidian CM bug that I reported to Licat
3671998

Git stats

Files

Permalink
Failed to load latest commit information.

GitHub latest release GitHub All Releases

Drag and Drop Blocks plugin Overview

This is a plugin for Obsidian (https://obsidian.md).

Drag and Drop Blocks for actions such as moving and copying blocks, as well as creating block references by dragging.

*Note: Anywhere the term "block" is referenced it is synonymous with a "line" of text, a bullet in a list, a Header section, or a Markdown "block" of text.

Instructions

Requirements

How to use

  • Drag block (no modifier) = move block
  • Alt/Option + Drag = create a block reference
  • Shift + Drag = copy the block
  • Alt + Shift + Drag = copy the text of the block and also add a alias link back to the source block

Demo

Need to add a demo here...

Features

  • Copy a block
  • Move a block
  • Create a block reference
  • Copy text and include an alias link back to the source block
  • Copy search results by dragging results into your notes
  • Create block reference by dragging search results into your notes while holding Alt

Details

Need to add some details and use cases here

General Obsidian Documentation

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/your-plugin-id/.

API Documentation

See https://github.com/obsidianmd/obsidian-api