Copying and pasting lists adds empty list items #6621
Labels
[Block] List
Affects the List Block
[Feature] Paste
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Bug
An existing feature does not function as intended
Milestone
Issue Overview
I have been copying text from Word to Gutenberg 2.8.
After copying and pasting the content in a list block it looks like this:
In the code editor the content looks like follows.
Even after removing the empty spaces in the list, they return once I saved the post.
Expected Behavior
I would expect that I could copy and paste text without it adding the extra spaces and
<br>
tags.Possible Solution
Strip the spaces within the
<li>
tags.The text was updated successfully, but these errors were encountered: