Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Edit Site: Add package with barebones site editor screen. #19054
This PR starts work on an experimental block based full site editing screen as part of the full site editing experiment.
The idea is for this to serve as a specialized UI for customizing block based themes, basically what the customizer is now to classic themes.
This PR takes care of adding the new module, linking all necessary dependencies, bootstrapping PHP logic, etc. It's already pretty big as is, so it'd be good to merge this before starting to work on the actual full site editing logic.
How has this been tested?
It was verified that enabling the full site editing experiment in the Gutenberg experiments screen enabled a "Site editor (beta)" sub-menu item in the Gutenberg menu, and clicking on it rendered a basic block editor without persistence.
Types of Changes
New Feature: The full site editing experiment now has an experimental site editor screen that will be developed for customizing block based themes.
youknowriad left a comment
It's still not clear to me whether this new edit-site package should be a complete new React tree or just reuse wp.editPost.initializeEditor and just enable/disable some plugins/hooks.
I guess this comes down to the size of the differences between the two screens. It will become obvious over time, so happy to start with the proposed approach here.