getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.31k stars 168 forks source link

Unable to have a top-level ordered list in a List block #3198

Open hdodov opened 3 years ago

hdodov commented 3 years ago

Describe the bug
Whatever I type in a List block creates an unordered list, even if I type 1. followed by space. I can only have an ordered list when it's nested under an unordered list item.

To Reproduce
Steps to reproduce the behavior:

  1. Open a Blocks field in the panel
  2. Attempt to write an ordered list

Expected behavior
You should be able to create either an ordered or unordered list.

Kirby Version
3.5.3.1

afbora commented 3 years ago

@hdodov Am i missing something?

image (3)

lukasbestle commented 3 years ago

I agree with @hdodov that the current behavior is not really intuitive. You need to create a list block, then type something, select the text and finally change the list type from the toolbar.

For example in Notion there are way fewer steps: If you type -, you get an unordered list and if you type 1., you get an ordered list. Without using the mouse at all.

hdodov commented 3 years ago

I had no idea you get an options bar when you select the text, to be honest. I don't think it's good to put such an important functionality in a place that people might not know it even exists.

bastianallgeier commented 3 years ago

I agree that this isn't solved perfectly yet. We need to work on this.

ChristophLabacher commented 2 years ago

Just want to put this back on the map – I really struggled with this too until I found this issue by googling. I always looked for it in the block settings (as in the overlay that opens up when you click the edit icon of a block), because it feels like a block-level option.

Also when I press CMD+A to select all and then try to change it with the toolbar it does not work, only when I use the mouse to select the text. (In Chrome)

bvdputte commented 1 year ago

Same as @ChristophLabacher

Can you please reopen this?