Steps to reproduce
- Create a file with a few checklist items, e.g.:
## To Do
- [ ] item 1
- [ ] item 2
- [x] item 3
- [ ] item 4
## Done
- [x] item 5
- [x] item 6
- Select one or more items with the trailing newlines
- Try to move the selected item below or above
Did you follow the troubleshooting guide?
Yes
Expected result
I can move the items freely, e.g. group the checked items together.
Actual result
You can’t drop text to the left of the checkboxes (cursor: not-allowed):
You can only drop text between the checkbox and the item to the right of it, but it breaks checkboxes:
If you try to drop text to the left of a checkbox too hard, you can break stuff (the screen below shouldn’t be possible at all):
Environment
SYSTEM INFO:
Obsidian version: v1.3.5
Installer version: v1.3.5
Operating system: Windows 10 Pro 10.0.19045
Login status: logged in
Catalyst license: insider
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
In the legacy edit mode (not live preview) everything works fine.
Moreover, if you manage to force a part of the target zone to be shown as text (e.g. with extra cursors), you can drop stuff there successfully:
I think that the same kind of problem might arise in other cases when a part of the line is converted to non-text, like bulleted list items, images, etc.
A simple way to address the problem might be this: when dragging text around, display drop targets (i.e. the lines under the cursor) as plain text, so the text can be freely dropped to any part of the line.