-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Revert "InnerBlocks: introduce prop to specify render callback for each block." #25196
Revert "InnerBlocks: introduce prop to specify render callback for each block." #25196
Conversation
Size Change: -162 B (0%) Total Size: 1.2 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this is a good idea and the problem might pop up in the future, there currently is no application of this in progress. Let's revisit this later. Thanks for the great work @ZebulanStanphill ! 🙏
Thank you for both the initial effort and for this follow up! This is a slightly thorny issue that we should have a bit more real-world use cases in dance to make a better evaluation on its tradeoffs. |
Reverts #24232. I forgot to implement any parsing changes to support the InnerBlocks render callback API. This means that although everything would work fine initially in the editor and even upon save, if you exited and returned to the editor, it would not know how to parse blocks using the render callback feature.
Since I do not know how to finish implementing the experimental feature, I've created this PR to remove the broken API for now.