[wp-trac] [WordPress Trac] #47933: Gutenberg incorrect paste of list text into list block

WordPress Trac noreply at wordpress.org
Sat Aug 24 23:38:23 UTC 2019


#47933: Gutenberg incorrect paste of list text into list block
--------------------------+-----------------------------
 Reporter:  Starbuck      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.2.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47933>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list