In the Nav block when creating a new link, typing in the name of an entity which doesn't exist brings up a Create new draft page option in the Link UI search results. This allows you to create new draft pages directly from the Nav block.
That functionality is not present in the Nav offcanvas experiment.
Why?
It's intentional in the sense that I deliberately removed it.
Why?
Because including that functionality requires saveEntityRecord from @wordpress/core-data and we need to avoid coupling that package to block editor. I don't yet have a good way around this...
This is blocked by the above.
it also looks like the off-canvas editor is not offering the option to create a new page when it doesn't exist. I don't know if that's intended or not. If not, then that's definitely something to follow up on.
Originally posted by @MaggieCabrera in #46189 (comment)
In the Nav block when creating a new link, typing in the name of an entity which doesn't exist brings up a
Create new draft pageoption in the Link UI search results. This allows you to create new draft pages directly from the Nav block.That functionality is not present in the Nav offcanvas experiment.
Why?
It's intentional in the sense that I deliberately removed it.
Why?
Because including that functionality requires saveEntityRecord from @wordpress/core-data and we need to avoid coupling that package to block editor. I don't yet have a good way around this...
This is blocked by the above.
Originally posted by @MaggieCabrera in #46189 (comment)