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

Indented list item of ordered list now creates an unordered list item #45754

Open
skorasaurus opened this issue Nov 14, 2022 · 4 comments
Open
Labels
[Block] List Affects the List Block [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release

Comments

@skorasaurus
Copy link
Member

skorasaurus commented Nov 14, 2022

Description

This has been tripping up some of our editors as we recently adopted WordPress 6.1 which included the adoption of list v2 block (admittedly, we missed it in some initial testing).

Previously, list v1 (in wordpress 5.9.x and wordpress 6.0.x, and before Gutenberg 14.0):

When an ordered list item would be indented; the indented list item would begin a new ordered list, as indicated in the gif below.

2022-11-11-lists_v1

Now (WordPress 6.1; I didn't verify that this behavior was introduced in gutenberg 14.0 but I believe that when list v2 was adopted) when an ordered list item is indented; the default is to now make the indented list item to be unordered; as indicated in the gif below.

2022-11-11-lists_v2

I'm unsure of whether this change in default behavior was intentional or not; I didn't find a ticket or comment regarding it and wasn't mentioned in the indenting or outdenting PR for list v2

Step-by-step reproduction instructions

  1. create new list (ordered) block
  2. add 2 or 3 list items
  3. indent the last list item

Screenshots, screen recording, code snippet

No response

Environment info

WordPress 6.1; Gutenberg 14.5 activated (also able to replicate with gutenberg deactivated).

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@skorasaurus skorasaurus added [Type] Regression Related to a regression in the latest release [Type] Feedback Issues that relate purely to feedback on a feature that isn't necessarily actionable [Block] List Affects the List Block labels Nov 14, 2022
@github-actions
Copy link

Hi,
This issue has gone 180 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.

@github-actions github-actions bot added the Needs Testing Needs further testing to be confirmed. label May 14, 2023
@skorasaurus
Copy link
Member Author

still applicable in gutenberg 15.7.1

@skorasaurus skorasaurus removed the Needs Testing Needs further testing to be confirmed. label May 16, 2023
@foosantos foosantos added [Type] Bug An existing feature does not function as intended and removed [Type] Feedback Issues that relate purely to feedback on a feature that isn't necessarily actionable labels Sep 20, 2023
@foosantos
Copy link
Member

I can still reproduce this issue as well, and it was recently reported again on #54577.

@threadi
Copy link

threadi commented Dec 29, 2024

I can still reproduce it today with Gutenberg 19.9.0.

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 [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

No branches or pull requests

3 participants