obsidian-drag-and-drop-blocks icon indicating copy to clipboard operation
obsidian-drag-and-drop-blocks copied to clipboard

Issues with dragging empty lines

Open dcoales opened this issue 4 years ago • 3 comments

I have a set of lines like so:

This is text block 1


This is text block 2

This is text block 3
This is text block 4

I realise that I have two blank lines between block 1 and block 2 and none between block 3 and block 4 so I drag the second blank line from between 1 and 2 and and drop it between 3 and 4 and the result is the following where line 2 and the blank line below it appear to have disappeared:

This is text block 1


This is text block 3
This is text block 4

dcoales avatar Oct 22 '21 16:10 dcoales

Interestingly, I then tried to drag the result to the end of another note and got a message that I had tried to drop on an invalid drop zone so the drag had been cancelled and the text changed to:

This is text block 1

This is text block 2

This is text block 3
This is text block 4

This is the same as the start with only the blank line I dragged missing.

dcoales avatar Oct 22 '21 16:10 dcoales

@dcoales the explanation was very good, so thanks for that... but I cannot re-create your issues. See my video below which I think operates exactly as you wanted, correct?

Can you please record a video of your issue(s) in action because I need to be able to re-create exactly what is happening in your situation. Thanks!

https://user-images.githubusercontent.com/64155612/139108007-bf698bbb-fef1-4033-9abc-97ea705fcfbb.mp4

GitMurf avatar Oct 27 '21 16:10 GitMurf

I've tried again and I don't get quite the same error but it still behaves oddly. I've attached the original file and a video 2021_10_27.md

https://user-images.githubusercontent.com/19651447/139136951-ba51c444-9561-4e7d-98c1-da3cabd8ec02.mp4

.

dcoales avatar Oct 27 '21 19:10 dcoales