Opened 4 years ago
Closed 3 years ago
#47933 closed defect (bug) (reported-upstream)
Gutenberg incorrect paste of list text into list block
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.2.2 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
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.
https://github.com/WordPress/gutenberg/issues/26713