Editor: Add Navigation Area infrastructure

Copies Navigation Area infrastrucutre from lib/navigation.php in Gutenberg. This
allows a Navigation block to be associated with a particular area which persists
when switching theme.

Props antonvlasenko, mamaduka, spacedmonkey.
See #54337.


git-svn-id: https://develop.svn.wordpress.org/trunk@52145 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Robert Anderson
2021-11-12 03:53:18 +00:00
parent ff04bb0017
commit 74df751e48
6 changed files with 293 additions and 7 deletions
+1 -1
View File
@@ -11445,7 +11445,7 @@ mockedApiResponse.TypesCollection = {
}
},
"wp_navigation": {
"description": "",
"description": "Navigation menus that can be inserted into your site.",
"hierarchical": false,
"name": "Navigation Menus",
"slug": "wp_navigation",