WordPress.org

Make WordPress Core

Opened 8 weeks ago

#47933 new defect (bug)

Gutenberg incorrect paste of list text into list block

Reported by: Starbuck Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.2.2
Component: Editor Keywords:
Focuses: Cc:
PR Number:

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.

Change History (0)

Note: See TracTickets for help on using tickets.