-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Widgets] Try inserting intermediate sub-sections in widgets customizer #25434
Conversation
Size Change: +76 B (0%) Total Size: 1.2 MB
ℹ️ View Unchanged
|
packages/edit-widgets/src/index.js
Outdated
if ( ! registered ) { | ||
registerCoreBlocks(); | ||
if ( process.env.GUTENBERG_PHASE === 2 ) { | ||
__experimentalRegisterExperimentalCoreBlocks( settings ); | ||
} |
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.
We'll also need registerBlock( legacyWidget );
as in line 33 in the same file. Maybe it's time to that logic into our own registerWidgetsEditorBlocks()
function?
I left a minor note but otherwise looks good - keep up the good work! |
c6f5363
to
61beeca
Compare
Blocked by #25625 |
No longer needed, see #23975 (comment). |
Description
Trying to fix #23975.
This PR is an attempt to add intermediate sub-sections to Widgets customizer. This PR still suffers from several issues including #25157, #25154, and #25201.
Still unable to get it working as expected though. The goal is to add the
widget-area
block to the editor, currently I'm adding the inner blocks of thewidget-area
block. However, I can't seem to find a way to add only onewidget-area
block to the editor? What am I missing and how should I fix this?How has this been tested?
Screenshots
Types of changes
New feature
Checklist: