Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wuxuehao opened this issue Sep 2, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@wuxuehao
Copy link

wuxuehao commented Sep 2, 2023

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 wuxuehao added the bug Something isn't working label Sep 2, 2023
@rfid9
Copy link

rfid9 commented Oct 3, 2023

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

@barabasz
Copy link

barabasz commented Oct 5, 2023

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)

@loucdvet123
Copy link

In the latest version, plugins still doesn't work

Obsidian version: 1.4.14
Plugin Version: 4.8.0

@blakeNaccarato
Copy link

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.

@hitripod
Copy link

hitripod commented Jan 29, 2024

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

@imdadkadir
Copy link

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

Let me know if this helps!

@Remote-Radical
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

8 participants