-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inner Blocks inserter on single-child blocks #20728
Comments
Yes, it should show when the container (Buttons) or a child (Button) is selected. This should apply to all nested contexts, though — selecting an item inside a column, or the column itself, would show the +, otherwise it should not appear. |
I would +1 what @davemart-in showed above and say that we can remove the 'needs design' label as that feels right to get as soon as possible into code. Going to add a feedback label just to keep that flowing though. I really like this and also note that it can be an opportunity to centre the '+' along with this aligning better with the button. It will also stop multiple '+' without context and all feeling like they add a block. |
Starts work on #20728. It doesn't completely fix it though. What it does is create a generic rule to hide the appender in nesting contexts, until the parent or a child of the same block, is selected.
Loved your idea so much, Dave, I ran with it in #20753. |
Starts work on #20728. It doesn't completely fix it though. What it does is create a generic rule to hide the appender in nesting contexts, until the parent or a child of the same block, is selected.
…0753) * Try: Show inserter only when block selected for nesting contexts. Starts work on #20728. It doesn't completely fix it though. What it does is create a generic rule to hide the appender in nesting contexts, until the parent or a child of the same block, is selected. * Fix rebase issue, account for "lighter dom" blocks also.
When removing a button or social icon the parent block of both can become empty. We will then see an inserter that seems out of place. Hovering over the inserter gives some info what they are. I would suggest when no child block (social icon or button) is present then the parent is also removed. |
When a block uses inner blocks but only supports a specific block type as a child, we should consider stating more clearly what the + does.
Current:
Something like this:
The text was updated successfully, but these errors were encountered: