You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
List block: preserve original markup when copy/paste for nested UL/LI structures #26713
Pasting a list item into an existing list removes the nested UL markup in the pasted items.
Open a page and start a new unordered list block. For each root-level list item, add one or two second-tier list items. Now select the entire last root-level item and paste it at some point above.
The list item is pasted without its nested UL's, only the LI's. The nested strucure needs to be recreated.
Possibly a different ticket? After doing this a few times it becomes difficult to paste in list text without it ending up in another block. Of course copying the new block into the first results in the above issue.
The request here is simply to ensure that copy/paste of nested UL/LI structures preserves all original markup.
I did look for existing tickets using relevant keywords but did not find this documented. Sorry if this is a dupe.
changed the title [-]Gutenberg incorrect paste of list text into list block[/-][+]List block: preserve original markup when copy/paste for nested UL/LI structures[/+]on Aug 23, 2025
Activity
noisysocks commentedon Nov 5, 2020
In my testing, if I copy a list item and its children and paste it in a new empty paragraph, I get a list but with no nesting.
Thelmachido commentedon Aug 3, 2022
I did a few checks, I can still reproduce part of the issue:
Screen.Recording.2022-08-03.at.13.36.38.mov
A fix is currently being worked on here
Gutenberg 13.7.3
WordPress 6.0.1
Mamaduka commentedon Sep 2, 2022
I think this is still an issue with List v2.
[-]Gutenberg incorrect paste of list text into list block[/-][+]List block: preserve original markup when copy/paste for nested UL/LI structures[/+]