Blocks in Customizer: Make the block editor talk to the Customizer API #29284
Labels
[Feature] Widgets Customizer
Ability to add and edit blocks in Customize → Widgets.
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Here's very roughly what I imagine...
There's a React component in the
@wordpress
namespace called e.g.BlockWidgetsEditor
, which:BlockEditor
that allows the user to edit the provided widget areas.Then, there's a React component in the
@wordpress
namespace called e.g.BlockWidgetsScreen
, which:BlockWidgetsEditor
and hooks it up to the REST API.BlockWidgetsScreen
can then be mounted into the standalonewidgets.php
WP Admin screen in the normal way.Lastly, there's a class in the
@wordpress
namespace called e.g.BlockWidgetsSection
, which:wp.customize.Section
.BlockWidgetsEditor
and hooks it up to Customize settings using the Customize JavaScript API.The text was updated successfully, but these errors were encountered: