Skip to content

Quote: Transform cannot be performed when it does not contain a paragraph block. #74236

@shimotmk

Description

@shimotmk

Description

Quote: Transform cannot be performed when it does not contain a paragraph block.

Console error message

react-dom.min.js?ver=18:63 Uncaught TypeError: Cannot read properties of null (reading 'name')
at index.min.js?ver=06e590c414c9d6ffc023:67:160216
at index.min.js?ver=eab579586698faac4f5b:1:9626
at index.min.js?ver=64f9f5001aabc046c605:1:9455
at index.min.js?ver=eab579586698faac4f5b:1:9238
at Object.dispatch (index.min.js?ver=eab579586698faac4f5b:1:9562)
at index.min.js?ver=eab579586698faac4f5b:1:15291
at p (index.min.js?ver=06e590c414c9d6ffc023:133:14968)
at onSelect (index.min.js?ver=06e590c414c9d6ffc023:133:15852)
at onClick (index.min.js?ver=06e590c414c9d6ffc023:133:10729)
at WY.t. (index.min.js?ver=ee7f39ee7ece67175e46:1:37540)

I think you need to disable converting to paragraphs when it doesn't contain a paragraph block.

Step-by-step reproduction instructions

  1. Go to post or page
  2. Place the Quote block
  3. Conversion is not possible when an inner block does not contain a paragraph block.

Screenshots, screen recording, code snippet

quote.mp4

Environment info

  • WordPress 6.9
  • Gutenberg trunk branch

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Block] QuoteAffects the Quote Block[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions