Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 6 tasks
ockham opened this issue Jan 31, 2025 · 2 comments
Open
2 of 6 tasks
Labels
[Feature] Block hooks [Type] Bug An existing feature does not function as intended

Comments

@ockham
Copy link
Contributor

ockham commented Jan 31, 2025

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
@ockham ockham added [Feature] Block hooks [Type] Bug An existing feature does not function as intended labels Jan 31, 2025
@t-hamano
Copy link
Contributor

t-hamano commented Feb 2, 2025

Is this a recent issue? If so, we can add this issue to the 6.8 project board.

@ockham
Copy link
Contributor Author

ockham commented Feb 3, 2025

@t-hamano Yes, this was found by @gziolo when reviewing my other bugfix. I think we should add it to the 6.8 board 👍

I won't be able to work on a fix this week, but I'll look into it next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block hooks [Type] Bug An existing feature does not function as intended
Projects
Development

No branches or pull requests

2 participants