-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Navigation child block cannot be inserted anymore. #73826
Copy link
Copy link
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Status] In discussionUsed to indicate that an issue is in the process of being discussedUsed to indicate that an issue is in the process of being discussed[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Metadata
Metadata
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Status] In discussionUsed to indicate that an issue is in the process of being discussedUsed to indicate that an issue is in the process of being discussed[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
✅ Done
Description
What?
Custom block with
core/navigationas parent cannot be inserted with WordPress 6.9 (works with 6.8).Expected behavior:
I expect the block to be inserted (like in WordPress 6.8). See an example bellow with 6.8:
Step-by-step reproduction instructions
@wordpress/create-blockdefault block).block.json, add"parent": [ "core/navigation" ].Screenshots, screen recording, code snippet
With WordPress 6.9:
With WordPRess 6.8:
Environment info
Custom block config
Here is the `block.json` config. I used the default rendering JS files from `npx @wordpress/create-block@latest`.{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "create-block/foo", "version": "0.1.0", "title": "Foo", "category": "design", "icon": "smiley", "description": "Example block scaffolded with Create Block tool.", "example": {}, "parent": [ "core/navigation" ], "supports": { "html": false }, "textdomain": "foo", "editorScript": "file:./index.js", "editorStyle": "file:./index.css", "style": "file:./style-index.css", "viewScript": "file:./view.js" }Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.