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

Other kinds of ordered lists #49380

Closed
tomjn opened this issue Mar 27, 2023 · 2 comments
Closed

Other kinds of ordered lists #49380

tomjn opened this issue Mar 27, 2023 · 2 comments
Labels
[Block] List Affects the List Block [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.

Comments

@tomjn
Copy link
Contributor

tomjn commented Mar 27, 2023

What problem does this address?

The only type of ordered list is numbered.

  1. But not this
  2. or this
  1. Or even this
  2. or this!!
  1. bet you didn't think this was possible
  2. and yet the difference is a single character HTML attribute
  3. foobar

All it takes is a type attribute:

<ol type="a">
    <li>Foo</li>
    <li>bar</li>
</ol>

Which is passed to the tag but it's used to determine if a ul or an ol should be used.

What is your proposed solution?

Add an extra button to the toolbar for ordered lists with a 1/A/a/I selector.

There's already a sidebar inspector option for the starting number, and I would register a block style but sadly unless I want unordered graphics or images this isn't a CSS thing, it's a HTML markup thing.

@tomjn tomjn changed the title Lettered ordered lists Mar 27, 2023
@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. [Block] List Affects the List Block labels Mar 28, 2023
@skorasaurus
Copy link
Member

Thanks for reporting; this is being requested and discussed in #17738.

@skorasaurus skorasaurus added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Mar 28, 2023
@tomjn
Copy link
Contributor Author

tomjn commented Mar 28, 2023

Noting that someone has pointed out that lower-roman is a valid value for the list parameter so this can be done with CSS and block styles!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.
3 participants