-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 editor: merge RootContainer with BlockList #27531
Conversation
function BlockList( | ||
{ className, placeholder, rootClientId, renderAppender }, | ||
ref | ||
) { | ||
const Container = rootClientId ? 'div' : RootContainer; |
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.
rootClientId
will always be falsy since InnerBlocks
doesn't use this component anymore.
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.
When did InnerBlocks stop using this component?
Size Change: +38 B (0%) Total Size: 1.19 MB
ℹ️ View Unchanged
|
6936ca3
to
e953372
Compare
Description
This component was introduced for adding logic to the root of nested block lists, but since
InnerBlocks
is no longer usingBlocksList
but ratherBlockListItems
directly (see #25633), there's no need anymore to have a separate component becauseBlockList
is the root container.How has this been tested?
Screenshots
Types of changes
Checklist: