Support » Alpha/Beta/RC » Unable to make more than one list item per list

  • Resolved cdets

    (@cdets)


    I am mostly trying to confirm if this is just a new way the List block works or if it is something broken that we are missing. While testing our theme against the WP6.1 RC 3 we ran into some confusion regarding lists. When creating a list we cannot create more than one list item at each level. It will allow a nesting of other lists within but if you create a list you cannot add more than the initial list item to that list. Initially I though it was something wrong with our build but upon switching to several of the provided themes such as Twenty Twenty-One and Twenty Twenty-Two the same issue occurs.

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thanks-you @juliengemaddis. You likely saved me hours trying to figure this out.

    One question, do I keep ‘core/list’ and also add ‘core/list-item’ or does ‘core/list-item’ replace ‘core/list’ I kept ‘core/list’ and it seems to work but I am not sure if that is really correct?

    This Might help someone ( Partially )

    I am facing the same issue, and i am using WP 6.1.1 and WP 8.0.
    After details observation of code.

    We are using allowed_block_types_all to allow certain blocks than allowing all.

    So in my case if we comment the above filter, then enter key is working( Which is not our use case as a business ) and can add multiple List and Child list.

    And thanks @juliengemaddis, you solution of adding core/list-item worked. I have added core/list-item along with core/list. Solved my issue with WP 6.1.1

    @juliengemaddis Thank you so much for sharing. I had the exact same issue and your solution was what I needed to resolve the issue.

    WordPress team should provide a big disclaimer when they release changes like this.

    @localskim Hello, your welcome for the help provided ! I think you need both, core/list let you create the list block in Gutenberg, then the core/list-item let you add list item in that same block

Viewing 5 replies - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.