WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 13 months ago

#47933 closed defect (bug) (reported-upstream)

Gutenberg incorrect paste of list text into list block

Reported by: Starbuck 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.

Change History (1)

#1 @noisysocks
13 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.