Navigation block: Trying to add link results in block error when editing in Template Parts #29237
Labels
[Block] Navigation
Affects the Navigation Block
[Block] Template Part
Affects the Template Parts Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
In trying to use the navigation block, I'm unable to add Page links and encounter an error message: "This block has encountered an error and cannot be previewed." This ONLY happens when in the Template Parts editing section. It works just fine in the Site Editor.
Step-by-step reproduction instructions
Please list the steps needed to reproduce the bug. For example:
Expected behaviour
I expected to be able to edit the navigation block within the template parts screen. This works just fine when in the site editor experience but breaks when viewing the template part specifically.
Actual behaviour
Run into a block error.
Screenshots or screen recording (optional)
Video:
navigation.block.mov
WordPress information
The text was updated successfully, but these errors were encountered: