Repository navigation
Conversation
A nested branch shows its appender when its parent, or any block inside the parent, is selected, so a submenu or a Buttons block in a Navigation menu can take new items from the List View. The first level keeps its appender at all times, and the nested branch now receives `showAppender` so List Views without one stay without one. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YY39mts89XNBXysaFcLtoa
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YY39mts89XNBXysaFcLtoa
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Updated as activity occurs, without notifying anyone named here. Add the |
jeryj
added a commit
that referenced
this pull request
Oct 19, 2026
…rch (#85122) Some blocks, like Social Icons and Button Blocks are not able to be edited or added from the site editor sidebar. This is being worked on in #84866, #84860, and #84854. Those won't make the 7.2 cutoff, so we should exclude those blocks from the site editor block search rather than offer an incomplete experience. --------- Co-authored-by: jeryj <jeryj@git.wordpress.org> Co-authored-by: mikachan <mikachan@git.wordpress.org> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This was referenced Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #85154
What?
Show an appender at the end of a nested list in the List View while that list's parent, or any block inside it, is selected. In the Navigation block's List View, selecting a submenu or one of its items shows an "Add page" row at the end of the submenu; selecting a Buttons block or its Button shows an "Add Button" row.
Why?
The List View appender only existed at the first level. To add an item to a submenu from the List View, the user had to add it at the top level and drag it in, or leave the List View for the canvas toolbar. The same applied to a Buttons block in a menu.
How?
ListViewBranchdrops thelevel === 1gate. A nested branch shows its appender when its parent is selected or the selection is anywhere inside the parent's subtree, so appenders follow the user down the tree without cluttering every expanded list. The first level keeps its appender at all times. The row count andaria-setsizeinclude the extra row, and the nested branch now receives theshowAppenderprop, so List Views without an appender stay without one.The appender takes its parent's insert settings as before: a submenu inserts a page link and the existing Link UI opens for it, a Buttons block inserts a Button directly. A collapsed container shows no appender until expanded, like its children.
Social Icons in a menu get an appender too, which opens the quick inserter as the canvas appender does. A picker listing every service is a follow-up.
Testing Instructions
admin.php?page=site-editor-v2&p=/navigation.Testing Instructions for Keyboard
Use of AI Tools
This PR was written with Claude Code (Claude Fable 5.1), including the implementation and the e2e tests. I reviewed and tested the changes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01YY39mts89XNBXysaFcLtoa