close
Skip to content

Recovery Attemp error on changing paragraph block to heading #53261

@ethicaladitya

Description

@ethicaladitya

Description

I am adding a paragraph block to the Gutenberg editor, and then trying to edit the same in HTML by changing p tag with H1 causing it to break the block and throwing the error "The block contains unexpected or invalid content." which looks like a bug.

Step-by-step reproduction instructions

Add a Paragraph block in Gutenberg
Edit the block with HTML
Change p with h1
Click "Edit Visually"

Screenshots, screen recording, code snippet

https://monosnap.com/file/nZkP0Vn7XiZyK5FpHLyoKLhhD4SL2j

Environment info

No response

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions