obsidian-outliner icon indicating copy to clipboard operation
obsidian-outliner copied to clipboard

[BUG] In Obsidian v1.4.5, frontmatter and Drag-and-Drag functions cannot be used at the same time

Open wuxuehao opened this issue 1 year ago • 7 comments

Describe the bug In Obsidian v1.4.5, after the frontmatter code block is used at the beginning of an article, unordered lists inside the article cannot be dragged using the Drag-and-Drag function.

Expected behavior

I expect to be able to use both frontmatter and Drag-and-Drag with Obsidian v1.4.5

Environment (please complete the following information):

  • Desktop
  • Obsidian Version: v1.4.5
  • Plugin Version: 4.8.0

wuxuehao avatar Sep 02 '23 14:09 wuxuehao

This is still a problem, I was able to reproduce it using these steps:

  • Created a new file
  • Created 10 bullets at various levels
  • Tested drag and drop; worked perfectly
  • Added an empty test property
  • Tested drag and drop: not working

Current version: 1.4.14 Plugin Version: 4.8.0 OS: Win 11 Plugins: > 50

rfid9 avatar Oct 03 '23 15:10 rfid9

This bug is particularly inconvenient for people using plugins like "Uptade time on save", or simply using frotmatter in all notes 😥 obsidian-outliner doesn't work at all in this case.

Obsidian version: 1.4.14 Plugin Version: 4.8.0 OS: macOS Plugins: 1 (just obsidian-outliner)

barabasz avatar Oct 05 '23 15:10 barabasz

In the latest version, plugins still doesn't work

Obsidian version: 1.4.14 Plugin Version: 4.8.0

loucdvet123 avatar Oct 15 '23 07:10 loucdvet123

I hope I'm commenting in the right place, considering the duplicate issues on this topic. Anyways, I just wanted to point out what I think is some new information pertinent to this issue:

  • *NEW?* Drag-and-drop isn't working in flat lists. For lists with any indentation, drag-and-drop works (unless the failure mode below is also present).
  • Already reported: Drag-and-drop doesn't work if the file has any frontmatter, related to the new Properties support.

A workaround for the flat list failure mode is to introduce a dummy indent object somewhere in your list when rearranging items, then remove the dummy indent when done.

blakeNaccarato avatar Nov 03 '23 20:11 blakeNaccarato

Same issue here, it could be done by using the hotkey to move an item up or down. image

hitripod avatar Jan 29 '24 05:01 hitripod

https://forum.obsidian.md/t/fix-for-drag-and-drop-functionality-in-outliner-plugin/76425?u=kadz

Let me know if this helps!

imdadkadir avatar Feb 06 '24 11:02 imdadkadir

https://forum.obsidian.md/t/fix-for-drag-and-drop-functionality-in-outliner-plugin/76425?u=kadz

Let me know if this helps!

It indeed works!

Remote-Radical avatar Mar 05 '24 16:03 Remote-Radical