logseq / logseq

A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: http://trello.com/b/8txSM12G/roadmap
https://logseq.com
GNU Affero General Public License v3.0
30.26k stars 1.77k forks source link

Unable to create single line check boxes #11228

Open jtrv opened 1 month ago

jtrv commented 1 month ago

Search first

What Happened?

I am unable to create a single line checkbox

Reproduce the Bug

  1. Create a new line
  2. Type * [ ]
  3. Wait for checkbox that never renders

Expected Behavior

A simple checkbox should render regardless if it is the first or second line in the block

Screenshots

No response

Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

LeaDevelop commented 3 weeks ago

Seems to work in v0.10.9, unless I misunderstood on how it's expected to work. I followed initial submit of feature and it's demo video that was shared in #4794, not sure it's mentioned in documentation itself. From my understanding, it's not expected to work in the block's first line but in the line break underneath it.

checkbox-list


- Task
    * [ ] test

-
- Task II
    * [ ] test
    * [ ] test
jtrv commented 3 weeks ago

@LeaDevelop What I am referring to is the ability to have a single checkbox element without adding an extra line. This would enable checklists to also indent/outdent and reorder in Logseq's typical workflow. As it is now, you cannot reorder, or indent/outdent in the same typical workflow as with other elements.

- Task
    - * [ ]

image