Skip to content

Drag and Drop blocks to move, copy and create block references.

Notifications You must be signed in to change notification settings

norcx/norcx-s-obsidian-drag-and-drop-blocks

 
 

Repository files navigation

GitHub latest release GitHub All Releases

note

改变了触法方式,更方便地创建块引用

IMPORTANT NOTE - As of September 2022 this plugin is Deprecated and no longer under Development

See details here: GitMurf#36 (comment)

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

Test one

test two

skip to number 4

this is 3

4 again back down

back to 2

another 2

and one again

two again

About

Drag and Drop blocks to move, copy and create block references.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.9%
  • CSS 1.3%
  • JavaScript 0.8%