Skip to content

Block Hooks: Not properly working with Classic block in Post Content (first/last child insertion) #68988

@ockham

Description

@ockham

Description

As reported by @gziolo here:

One thing that might need closer look is when using the Classic block in the post content. I couldn't make it work with inserting the hooked block as the last or first child in the core/post-content block.

Step-by-step reproduction instructions

TBD

Screenshots, screen recording, code snippet

Screenshot 2025-01-30 at 14 33 13 Screenshot 2025-01-30 at 14 33 43

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

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions