You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides the fact, that there are some some justified complaints about the disabled outlines of a block being selected (see #23892), I often miss the option to see EVERY outline at once, especially while building layouts.
Elementor for example always shows outlines:
(Source)
Solution
As described in #24751 I am aware of the balancing between a clean "focus on text" and a more page-builder-like "focus on blocks". As a compromise, I would like to propose the idea of showing outlines all the time in select mode:
dotted, grey: default
solid, grey: hover
solid, blue: selected/focused
Since the select mode is designed to "select blocks", I think this goal might be improved a lot by this feature.
Reacted by Noah Allen, Paal Joachim Romdahl, Andrea Fercia, mrleemon, Alvaro Gómez Velasco and Anthony Hortin
Updated the title to mention "all blocks," at first I thought this might be a duplicate of #23892 :)
To me, this kind of view could be very useful in the context of Global Styles and FSE, as we get closer to more fully realized design editor and site builder tool.
This makes sense to me. The inability to see all block outlines is something I've heard people used to page builders complain about all the time when they try to use Gutenberg. They consistently feel lost, being unable to tell where one container ends and another begins. I think showing the outlines of every block is helpful both for selecting blocks as well as for making block navigation clearer, which was the original intention of "Select" mode (originally "Navigation" mode). When you can see block outlines, you can more quickly tell where you'll be navigating to next.
Really good thoughts. I, too, like seeing an outline when reviewing how each block relates to the others. Keeping this restricted to Select mode is important.
My initial concern is how this is done in relation to more complex layouts like using the Columns block or right/left alignments.
I thought we already fixed the outlines for floated blocks? At least it seems that way with the existing interactions:
As for columns and multiple levels of groups... I mean, technically the borders are accurate. But perhaps we could consider adding extra padding to everything in Select mode?
My initial concern is how this is done in relation to more complex layouts like using the Columns block or right/left alignments.
...perhaps we could consider adding extra padding to everything in Select mode?
In my opinion it is especially a great enhancement for more complex layouts – and combining them with padding would really help to make blocks of even deeper levels directly clickable.
@mariohamann I like it! What do you think @afercia? Just making sure there's no accessibility downsides to this idea that we've failed to notice so far.
Maybe adding some CSS transitions and it's getting sweet
I do like the addition of animation, but we'd need to make sure the animation can be turned off for people with motion sensitivity.
This is reminiscent of an older PR that was tried and reverted last year. #14961
I'm cc-ing a few people involved in the last attempt to bring their insights and learnings here as well. @jasmussen@kjellr It could be that this affect limited to Select mode may work well.
The addition of nesting borders and specifically expanding padding were tried, as Mark said, and reverted. The primary reason was that it did not scale at all to compact nesting situations, such as an Icon block inside a Social Icons block, or a Menu Item inside a Navigation Menu. We even tried the animation, but failed to get it performant on very long pages (try the Demo content). The 5.5 design was created in part to address all those issues, but ultimately I see the expanding padding as a failed experiment.
I wrote a small Plugin to test it directly in Gutenberg: https://github.com/mariohamann/gutenberg-padding (just install and switch to Select mode).
Had no problems with performance (at least on my PC) until I pasted the Demo content about 25 times. After having pasted it for 100 times there was barely no transition, but still it worked – and in my opinion it felt like a great increase of usability in select mode.
Edit: One big problem I encoured was the changing position on screen because of the paddings. I tried it with overflow-anchor: auto; in Chrome, but unfortunately it didn't work.
To elaborate, I think showing all block outlines in Select mode is still helpful for the original intent of the mode: block navigation via the keyboard.
The padding thing is only really being considered to try and make it double as, well, a mode for touch/mouse users to "select" blocks at various levels of nesting. But as @jasmussen points out, this approach has some notable downsides.
I think perhaps a better way to provide a "find and select blocks at various levels of nesting" mode would be to turn List View into another mode of the main editor canvas. Make a mode that doesn't even try to be WYSIWYG, but rather is designed specifically for the purpose of:
seeing the block hierarchy
being able to quickly select blocks in that hierarchy
quickly moving blocks via up/down buttons and drag-and-drop across nesting levels (remember, you can't just add buttons to Select mode without messing up the original intent of fast keyboard navigation!)
How does that sound? Instead of trying to compromise between showing hierarchy and being WYSWIYG in Select mode, why not just add a whole new mode that doesn't even attempt to be WYSIWYG? If we had this mode, I think maybe we could even remove the current List View, breadcrumb bar, and parent-selector toolbar button, as this "List Mode" could potentially cover all the same use cases and handle them better and more accessibly, in my opinion.
@ZebulanStanphill As often mentioned I would love to see a mode between Select and Edit, e. g. Layout. This could be used to show e. g. the "Block actions" as described over here: #25275 (And of course this issue is a perfect example to profit from it, too: #24750) It seems that currently there are some concerns, but I have the feeling that it's so important to have this kind of mode. We are always struggling between not overloading select mode especially for a11y reasons and reducing the UI of Edit mode, to make it cleaner. But there is no mode to select an inner block without guessing which of the white areas is the right one. ;)
Mode switching for keyboard and mouse users could look like:
(I have to add: Working with my plugin was irritatingly effective. I could select a column in a columns block without any problems – without needing to select the most inner block and checking the block breadcrumb at the button to select the column or clicking and clicking and clicking, hoping to get the right one.)
Seems there are two different topics being discussed here 🙂
Always show block outline in Select mode: I'd be totally in favor of this. +1
Provide an additional editor "mode" to make the block-actions easier to use: this issue is also being discussed in Show "ellipses dropdown options" in select mode #25275. I'd be totally in favor of exploring a new mode for this purpose as @ZebulanStanphill suggested above. However, instead of making the switching mechanism between Select and Edit mode more complicated, I'd recommend a more clear separation between the modes and a better switching mechanism. See also my comment on Show "ellipses dropdown options" in select mode #25275 (comment)
Glad to see this being discussed. I'm often disappointed with what we might call lack of context awareness when using Gutenberg. I think this becomes a larger issue when editing inner blocks. We often find multiple appenders (the buttons used to add more blocks) appearing almost side by side because one is at the bottom of a nesting block while the other is directly below it... this is a separate issue but it speaks to lack of context and if the user could see what they have selected at least then it's more clear where you are placing new blocks.
I wanted to pull some feedback in from a recent Gutenberg plugin review that relates to this conversation and can help ground it in real world user feedback:
The lack of guide borders, lines, sections makes it extremely hard to know what is happening. If you click on column, group or blocks multiple times, the size and margin changes without any indication what is happening.
As it is, selection mode has been removed. Because of that, I would instead propose focusing attention on #66576, for which there is a PR in #69388 which I'll see if I can unstick.
Activity
[-]Show outlines of blocks in select mode[/-][+]Show outlines of every block in select mode[/+][-]Show outlines of every block in select mode[/-][+]Show outlines of all blocks in select mode[/+]noahtallen commentedon Sep 11, 2020
Updated the title to mention "all blocks," at first I thought this might be a duplicate of #23892 :)
To me, this kind of view could be very useful in the context of Global Styles and FSE, as we get closer to more fully realized design editor and site builder tool.
mariohamann commentedon Sep 11, 2020
Thank you for renaming and for your feedback!
ZebulanStanphill commentedon Sep 17, 2020
This makes sense to me. The inability to see all block outlines is something I've heard people used to page builders complain about all the time when they try to use Gutenberg. They consistently feel lost, being unable to tell where one container ends and another begins. I think showing the outlines of every block is helpful both for selecting blocks as well as for making block navigation clearer, which was the original intention of "Select" mode (originally "Navigation" mode). When you can see block outlines, you can more quickly tell where you'll be navigating to next.
mapk commentedon Sep 18, 2020
Really good thoughts. I, too, like seeing an outline when reviewing how each block relates to the others. Keeping this restricted to Select mode is important.
My initial concern is how this is done in relation to more complex layouts like using the Columns block or right/left alignments.
ZebulanStanphill commentedon Sep 18, 2020
I thought we already fixed the outlines for floated blocks? At least it seems that way with the existing interactions:

As for columns and multiple levels of groups... I mean, technically the borders are accurate. But perhaps we could consider adding extra padding to everything in Select mode?
mariohamann commentedon Sep 18, 2020
In my opinion it is especially a great enhancement for more complex layouts – and combining them with padding would really help to make blocks of even deeper levels directly clickable.
Maybe adding some CSS transitions and it's getting sweet (quick draft on CodePen). 😄
ZebulanStanphill commentedon Sep 18, 2020
@mariohamann I like it! What do you think @afercia? Just making sure there's no accessibility downsides to this idea that we've failed to notice so far.
mariohamann commentedon Sep 20, 2020
Here is another example on CodePen (inheriting the code base of the example above):

afercia commentedon Sep 21, 2020
Re: more padding? I don't think that would trigger a11y issues. Maybe more a design thing.
mapk commentedon Sep 21, 2020
I do like the addition of animation, but we'd need to make sure the animation can be turned off for people with motion sensitivity.
This is reminiscent of an older PR that was tried and reverted last year. #14961
I'm cc-ing a few people involved in the last attempt to bring their insights and learnings here as well. @jasmussen @kjellr It could be that this affect limited to Select mode may work well.
jasmussen commentedon Sep 23, 2020
The addition of nesting borders and specifically expanding padding were tried, as Mark said, and reverted. The primary reason was that it did not scale at all to compact nesting situations, such as an Icon block inside a Social Icons block, or a Menu Item inside a Navigation Menu. We even tried the animation, but failed to get it performant on very long pages (try the Demo content). The 5.5 design was created in part to address all those issues, but ultimately I see the expanding padding as a failed experiment.
mariohamann commentedon Sep 23, 2020
I wrote a small Plugin to test it directly in Gutenberg: https://github.com/mariohamann/gutenberg-padding (just install and switch to Select mode).
Had no problems with performance (at least on my PC) until I pasted the Demo content about 25 times. After having pasted it for 100 times there was barely no transition, but still it worked – and in my opinion it felt like a great increase of usability in select mode.
Edit: One big problem I encoured was the changing position on screen because of the paddings. I tried it with
overflow-anchor: auto;in Chrome, but unfortunately it didn't work.ZebulanStanphill commentedon Sep 23, 2020
Padding or not, I think we should at least move forward with showing all block outlines in Select mode. Any objections to that?
ZebulanStanphill commentedon Sep 23, 2020
To elaborate, I think showing all block outlines in Select mode is still helpful for the original intent of the mode: block navigation via the keyboard.
The padding thing is only really being considered to try and make it double as, well, a mode for touch/mouse users to "select" blocks at various levels of nesting. But as @jasmussen points out, this approach has some notable downsides.
I think perhaps a better way to provide a "find and select blocks at various levels of nesting" mode would be to turn List View into another mode of the main editor canvas. Make a mode that doesn't even try to be WYSIWYG, but rather is designed specifically for the purpose of:
How does that sound? Instead of trying to compromise between showing hierarchy and being WYSWIYG in Select mode, why not just add a whole new mode that doesn't even attempt to be WYSIWYG? If we had this mode, I think maybe we could even remove the current List View, breadcrumb bar, and parent-selector toolbar button, as this "List Mode" could potentially cover all the same use cases and handle them better and more accessibly, in my opinion.
mariohamann commentedon Sep 23, 2020
@ZebulanStanphill As often mentioned I would love to see a mode between Select and Edit, e. g. Layout. This could be used to show e. g. the "Block actions" as described over here: #25275 (And of course this issue is a perfect example to profit from it, too: #24750) It seems that currently there are some concerns, but I have the feeling that it's so important to have this kind of mode. We are always struggling between not overloading select mode especially for a11y reasons and reducing the UI of Edit mode, to make it cleaner. But there is no mode to select an inner block without guessing which of the white areas is the right one. ;)
Mode switching for keyboard and mouse users could look like:
Return→ Layout mode →Return→ Edit modeMouse click→ Layout mode →Mouse click→ Edit modeEsc→ Layout mode →Esc→ Select mode(I have to add: Working with my plugin was irritatingly effective. I could select a column in a columns block without any problems – without needing to select the most inner block and checking the block breadcrumb at the button to select the column or clicking and clicking and clicking, hoping to get the right one.)
afercia commentedon Sep 24, 2020
Seems there are two different topics being discussed here 🙂
caseymilne commentedon Aug 5, 2021
Glad to see this being discussed. I'm often disappointed with what we might call lack of context awareness when using Gutenberg. I think this becomes a larger issue when editing inner blocks. We often find multiple appenders (the buttons used to add more blocks) appearing almost side by side because one is at the bottom of a nesting block while the other is directly below it... this is a separate issue but it speaks to lack of context and if the user could see what they have selected at least then it's more clear where you are placing new blocks.
annezazu commentedon Oct 25, 2021
I wanted to pull some feedback in from a recent Gutenberg plugin review that relates to this conversation and can help ground it in real world user feedback:
deutrino commentedon Jul 3, 2026
What needs to happen to get to a decision on this?
jasmussen commentedon Aug 31, 2026
As it is, selection mode has been removed. Because of that, I would instead propose focusing attention on #66576, for which there is a PR in #69388 which I'll see if I can unstick.