Skip to content

Custom HTML block disappears #78576

@thewhitedrewcarey

Description

@thewhitedrewcarey

Description

After 7.0, Custom HTML block is not working properly. After adding HTML code, the block completely disappears on the post edit page, leaving a blank space. Also the preview option appears to have been removed or is not populating. It is no longer present The edit options for the block come up only if a user clicks on that empty space.

The HTML code is still there, and works in preview mode or live post.

Step-by-step reproduction instructions

  1. Go to Post
  2. Click on Add Post
  3. Click on Add Block
  4. Search for Custom HTML and click on to add
  5. Click on Edit HTML
  6. Enter HTML code, click Update

Screenshots, screen recording, code snippet

Image Image Image Image

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

Please confirm which theme type you used for testing.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    🏗️ In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions