Skip to content

Block invalidation error for pullquote block resulting in missing paragraph/text content #45562

Open

Description

Description

On a site with a lot of pullquotes on existing pages, loading posts with that content in the editor results in a block invalidation error and the paragraphs embedded in the saved content being stripped with the error "Block validation: Expected tag name 'cite', instead saw 'p'." rendered in the console.

Step-by-step reproduction instructions

  1. Save some content to the DB for a pullquote block with the structure figure > blockquote > p, cite.
  2. You'll receive the above block invalidation error when loading the post in the editor.

Screenshots, screen recording, code snippet

redacted-block-validation-error

Environment info

Gutenberg version: 14.4
WP version: 6.1

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

No one assigned

    Labels

    [Block] PullquoteAffects the Pullquote Block[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