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

[Behavior] Adding an checkbox item above a checked item #505

Open
3 of 8 tasks
lebigot opened this issue Jan 31, 2024 · 0 comments
Open
3 of 8 tasks

[Behavior] Adding an checkbox item above a checked item #505

lebigot opened this issue Jan 31, 2024 · 0 comments

Comments

@lebigot
Copy link

lebigot commented Jan 31, 2024

When you have a checkbox list item and want to simply add another one on top, we can put the cursor just after the checkbox and press enter: a new, empty checkbox item appears on top:

  • |Existing line

becomes

  • |
  • Existing line

(where | represents the text cursor).

Now, obsidian-outliner currently has some unexpected and arguably unwanted behavior when the original checkbox is checked:

  • |Checked line

becomes

  • |
  • Checked line

The original box becomes unchecked, which is obviously not what the user wanted. Also the new, untouched item is checked, which is also somewhat unexpected (a new task, for example, is probably not checked).

I would therefore like to suggest that inserting a new checkbox item by pressing enter instead maintain the checked status set by the user:

  • |
  • Checked line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant