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