Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List block: Direct Copy and Paste breaks list #54754

Closed
edwinho89 opened this issue Jul 21, 2021 · 3 comments
Closed

List block: Direct Copy and Paste breaks list #54754

edwinho89 opened this issue Jul 21, 2021 · 3 comments
Labels
Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions [Feature] Post/Page Editor The editor for editing posts and pages. [Pri] Low Triaged To be used when issues have been triaged. [Type] Bug User Report This issue was created following a WordPress customer report

Comments

@edwinho89
Copy link

Steps to reproduce the behavior

  1. Create a new list of items on a page or post
  2. Highlight lists above, copy and paste to an empty paragraph

What I expected to happen

List block are copied successfully without any issues

What actually happened

Pasting List block turns to a paragraph block (though it shows the bullet list at start.

image

Does this happen on simple or atomic sites or both?

Both

Reproducibility (Consistent, Intermittent) Leave empty for consistent.

Screenshot / Video: If applicable, add screenshots to help explain your problem.

image

<!-- wp:paragraph -->
<p><meta charset="utf-8">Original list below:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>list 1</li><li>list 2</li><li>list 3</li><li>list 4</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p><meta charset="utf-8">Copy and paste list below:</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><meta charset="utf-8"><li>list 1list 2list 3list 4</li></p>
<!-- /wp:paragraph -->

Reported in 30337470-hc

User reported it was working normally before recent update to WordPress 5.8

Workaround:

Expand options, copy the whole block, and paste to a new line.

image

@edwinho89 edwinho89 added [Type] Bug [Feature] Post/Page Editor The editor for editing posts and pages. [Goal] Full Site Editing User Report This issue was created following a WordPress customer report labels Jul 21, 2021
@edwinho89 edwinho89 added this to Needs triage in HE Triaging Board (new bugs) via automation Jul 21, 2021
@edwinho89 edwinho89 changed the title List block: Direct Copy and Paste does not work List block: Direct Copy and Paste breaks list Jul 21, 2021
@synora synora added Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions Triaged To be used when issues have been triaged. and removed [Goal] Full Site Editing labels Jul 26, 2021
@synora
Copy link
Contributor

synora commented Jul 26, 2021

Triaged. Can replicate.

@synora synora moved this from Needs triage to Triaged in HE Triaging Board (new bugs) Jul 26, 2021
@dpasque dpasque moved this from Triaged to Prioritized in HE Triaging Board (new bugs) Aug 6, 2021
@dpasque
Copy link
Contributor

dpasque commented Aug 6, 2021

Tagging @Automattic/flow-patrol-create based on issue content

@yansern
Copy link
Contributor

yansern commented Sep 15, 2021

This is now tracked in WordPress/gutenberg#34262.

@yansern yansern closed this as completed Sep 15, 2021
HE Triaging Board (new bugs) automation moved this from Prioritized - Bugs to Closed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions [Feature] Post/Page Editor The editor for editing posts and pages. [Pri] Low Triaged To be used when issues have been triaged. [Type] Bug User Report This issue was created following a WordPress customer report
Development

No branches or pull requests

4 participants