GitMurf / obsidian-drag-and-drop-blocks

Drag and Drop blocks to move, copy and create block references.
81 stars 6 forks source link

Dragging a header and its sub contents and dropping it within "itself" #23

Open GitMurf opened 2 years ago

GitMurf commented 2 years ago

See video in Discord reported by TFTHacker

Here are my comments in Discord:

ahhhh thanks for that great video! I will figure out how to fix but the problem is you are dragging it within itself 😉

When you drag heading 1 it grabs its children content (lines 3 and 4 etc.) ... but then you are trying to drop it within itself (between lines 3 and 4).

1) does that make sense the "issue"? 2) what would you like to see happen as behavior? I'm inclined to say cancel the event all together and send a Obsidian notification that says something like "You dragged a header and its contents and dropped it within itself which is an un-supported action" ... or something like that?