obsidian-drag-and-drop-blocks
obsidian-drag-and-drop-blocks copied to clipboard
0.6.2 not reliable with excalidraw
I played a bit with the latest pre-release. It sort of works... but is not reliable.
On the video:
- in the first attempt
2021-10-24 markdown viewis active when I initiate the alt+drag action. When I dropped the block reference to Excalidraw for some reason a previous block reference was dropped. Notice how the block in markdown view has a different block reference compared to what was dropped to Excalidraw:bwfoc92vs.3q8xcwv. - In the second case, starting at 0:00:25, I put my cursor to the
2021-10-23 markdown view, before initiating the alt+drag of the block reference to Excalidraw. In this case, the right block reference arrives, but the letterdand some empty lines appear in the2021-10-23 markdown view. - Finally, starting at 0:00:50, I first drag the block reference to the left, and then to Excalidraw. In this case, everything works as expected. Note that
2021-10-23 markdown viewwas the active view each time I initiated the alt+drag action.
https://user-images.githubusercontent.com/14358394/138582248-7262d101-70e2-4450-82c0-b7dea273add9.mp4
Thanks @zsviczian … I have been having a lot of issues like this with a lot of different plugins that have their own views types.
To get it released I am probably going to add a check that makes it not work for dragging into anything except a standard markdown view edit mode.
But excalidraw is the first plugin I plan to “optimize” for in an early update after initial release to the community plugin store.
so many darn corner cases to handle with drag and drop!!