Skip to content

Raw Handling: unexpected results when pasting table with list from Google Docs #45774

Description

Description

I tried pasting a table from Google Docs and received unexpected results.

Google Docs

image

Gutenberg

image

Notably:

  1. My merged bottom cell doesn't span full width. I assume this is blocked by Table block: Merge/Unmerge cells #15821
  2. My unordered list in the bottom cell lost its formatting. To avoid going down the Table Block: Should we use InnerBlocks? #18768 rabbit hole, I'd be fine with it transforming to:

image

Related #32400

Step-by-step reproduction instructions

  1. Copy table from https://docs.google.com/document/d/17fBRHVwvr9OUzvVR0H1S5-YJ8KKUam1kgnh4X9vtWgU/edit?usp=sharing
  2. Paste table into Gutenberg
  3. Observe results

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress 6.2-alpha-54642-src, Gutenberg 14.5.0
  • Chrome 107.0.5304.110 on Mac

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions