Description
Description
This was observed for few months, not only on recent Gutenberg versions.
I use the buttons of the floated toolbar to indent my lists.
1/ When we write down a quite long (normal) content, the typing become slower and slower
My example is a content with those figures, i make usage of many nested lists into my paragraphs.
- Characters:12463
- Words:1923
<!>I observe this mostly on Firefox, less on Chrome but is occurs on both browsers after few minutes at editing your article
2/ Manage List entries generate flickering / flackiness
If you have a list and sublists, it's extremely difficult to update the sublists. Adding some, delete empty sublists, etc.
* list 1
* sublist 1-1
* sub-sublist 1-1-1
* sub-sublist 1-1-2
* sublist 1-2
* sublist 1-3
* list 2
* sublist 2-1
* sublist 2-2
* sublist 2-3
Several cases here :
- [a] When deleting a sublist, for instance 1-2, it impacts the next the next List2 that is sometimes merged into List 1 ! Sublist 1-3 can disapear. It is a nightmare.
- [b] Sometimes, when inserting a sublist betweeen two already sublists, the content of the next sublists are superposed (character becomes non readable). The only way to make this disappear is to save + refresh the page
- [c] When you want to delete an empty list, you hit Delete on your keyboard but it deletes the next sublists, you loose content !
<!> I observe these behaviors in Chrome+FF also.
Seems Gutenberg is getting lost even if we save the page frequently. There are issues with List vs List Item : child items are displayed as child of the same list item but Gutenberg created another List at another level that is not visible.
The only workaround i found is to manage nested levels with the List View in the Editor. it is impossible directly when typing.
To sum up, the List block is very instable, and its very hard to manage our contents. We have to take care not to loose some when editing our articles.
I guess those 2 List specific ssues are related, and rely on sublists.
Step-by-step reproduction instructions
Just create an article with List block
Screenshots, screen recording, code snippet
It'll post screenshots / screencasts as a follow up as soon as the errors occur back
Environment info
- WP 6.2.2 / WP 6.3 RC3 but it's a old behavior
- Gutenberg but it's not specific to this release
- FF or Chrome latests versions
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
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone

Activity
Marc-pi commentedon Aug 4, 2023
About [2]
I think the culprit is a mess up in List / List items. List blocks creates groups of list whenever it wants, leading to unespected behavior. Those are not visible in the interface, only the List View can give you the explanation of the mess up.
Here is a screencast that explains the difference between the writing flow and the block List View. Lists levels are created but not visible. So when we delete some entries, sometimes we delete non visible levels !
ping @ellatrix
screen-recorder-fri-aug-04-2023-16-29-36.webm
ellatrix commentedon Aug 10, 2023
Did #52949 fix this issue?
annezazu commentedon Aug 30, 2023
@Marc-pi can you follow up on the above to confirm if the issue is still present?
Marc-pi commentedon Aug 30, 2023
hello,
@ellatrix / @annezazu it is better. The "list tree" is cleaner, seems you improved the nested lists.
There is one issue : see the video below
screen-recorder-wed-aug-30-2023-12-41-38.webm
and you get strange display :
WP 6.3
Gutenberg 16.5.1
TT2 theme
ellatrix commentedon Sep 1, 2023
Would you be able to share the starting content of the code editor here, and then the steps you do to end up with the unexpected behaviour? Or just the steps from a blank page if it can be reproduced more simply?
Marc-pi commentedon Sep 6, 2023
hum, i will try to replicate the exact point of my previous post.
Going back to the initial findings to ensure it is still fixed (and prepare a replication of my previous post), seems the nested lists are still wrongly declined into blocks (despite my previous comment).
So when we try to manage the list (add a new child line, click suppress button at the end of one child elements), it leads to unespected behaviors.
For instance, if i click suppress at the end of one child line to merge 2 lines, it deletes a line outside the list.
The editor get lost...
ellatrix commentedon Sep 7, 2023
@Marc-pi are you editing an existing list or a newly created one? It's worth noting that if the existing list has a bad structure, it won't get fixed. I'm interested in how you ended up with this bad structure, so the step you took to end up in this state with a list item having multiple lists inside it.
We could update your badly structured list by merging all those nested lists, but I'm wondering how you got to this state so we can fix the problem at the root.
Marc-pi commentedon Sep 14, 2023
@ellatrix i created completely new lists under Gutenberg 16.6 / WP 6.3.1
and then i play with them : moving child to parent, trying to merge 2 lists, adding new childs, adding new parent
(exactly like i do with Google Docs for instance)
i saw one of your commit #52995, does it fix partially my findings ?
tell me if you need more info, so we tackle down this issue quickly before beta1.
ellatrix commentedon Sep 15, 2023
@Marc-pi That will help, but I'm still wondering how you ended up in a state where you have a list item with multiple nested lists. Could you give me exact steps to reproduce from an empty post? Or alternatively, here is a list with a nested list:
How do you get to the state where you have one list item with multiple lists nested in it?
Marc-pi commentedon Sep 19, 2023
@ellatrix,
to help you understand, here is a vid i recorded for you, from a fresh new Page
You will notice 2 issues i was talking about above :
Hopes that helps you
Please note that i do use Firefox in that recording
screen-recorder-tue-sep-19-2023-18-53-59.webm
annezazu commentedon Sep 25, 2023
Moving this out of the 6.4 board as we are out of time to iterate further.
ellatrix commentedon Oct 6, 2023
@Marc-pi Thanks for the video! I now understand what's happening. You're pressing (forward) Delete with this state (using ↦ to indicate where you press the Delete key):
Then you end up with a list item that has two sub lists.
I'll make a PR to fix this.
ellatrix commentedon Oct 6, 2023
Fixed in #55121.
ellatrix commentedon Oct 6, 2023
It's an easy fix if there's desire to back port it.
Marc-pi commentedon Oct 7, 2023
@ellatrix
hello,
in fact, like in Google Doc or CKeditor (both are ok with accessibility norms), i do use on my keyboard :
Those should work to manage the lists
hope you understand the attended behavior