vslinko/obsidian-outliner

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

Opened this issue · 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
rfid9 commented

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

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)

In the latest version, plugins still doesn't work

Obsidian version: 1.4.14
Plugin Version: 4.8.0

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.

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