Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save Navigation Block data to a wp_navigation post type (#35746)
* Explore using a template part for the navigaiton block data Destructure attributes in nav block Add use of template part entity Move edit into a folder like the template part block Initial template part selection Render the template part inner blocks Fix visibility of UI when placeholders are visible Remove use of theme attribute Rework placeholder Revert "Remove use of theme attribute" This reverts commit 2adbdf7. * Register custom post type * Save data to a navigation post type Fix showing existing navigation post inner blocks * Output blocks from Navigation Post on frontend * Avoid rendering block when no navigation post is set * Fix direct insert * Update List View feature * Add menu switcher * Fix types * Use PlaceholderPreview when loading * Add menu naming * Update PHP strings * Hide post editor view * Update more PHP strings * Rename navigation post to navigation menu * Add upgrade process * Show menus in ui, but remove editor support and fix some labels * Fix empty block edit if block uses an empty entity * Hide wp-admin CPT view again * Fix frontend rendering from menu entity * Preserve inner blocks if post content is saved while upgrade warning is shown * Skip e2e tests * Disable navigation editor tests * Tidy up comment
- Loading branch information