Repository navigation
Description
What problem does this address?
Currently, when creating and editing content with the Gutenberg editor in WordPress, there is a lack of visual cues indicating the boundaries and structure of text blocks and other layout elements. This can lead to frustration, as users may find it challenging to accurately arrange and visualize the organization of their content. Without clear lines or frames around blocks, it is difficult to see where one block ends and another begins, especially in complex layouts with nested or closely spaced elements. This lack of boundary visualization can result in increased editing time, potential layout errors, and overall confusion about the page structure during the content creation process.
What is your proposed solution?
To address this issue, I propose adding a feature to the Gutenberg editor that provides an optional "Boundary View Mode" or "Outline Mode." When activated, this mode would display light borders, lines, or frames around each content block, giving users a clearer sense of the structural divisions on the page. This visual outline should not affect the actual published content but serve solely as an aid in the editing interface. The feature would resemble visual editor tools used in design and layout software, where block limits and separations are visible to improve precision.
This solution would enable users to:
- Easily see the limits of each content block, reducing guesswork when arranging or editing sections.
- Better understand nested structures or complex layouts, especially when working with containers, columns, or groups.
- Quickly identify where adjustments are needed without affecting surrounding elements.
- Toggle the mode on and off based on personal preference or specific tasks, providing flexibility in the editing experience.
Adding this feature would make content editing in Gutenberg more intuitive, particularly for users who work on complex layouts or want a more precise visual representation of their page's structure during editing.


Activity
hanneslsm commentedon Oct 30, 2024
This is a valid issue.
I usually enqueue the following css into the editor to enhance the UX, but a native "boundary mode" would be also very nice.
orionp13 commentedon Feb 28, 2025
please add this to gutenberg :)
orionp13 commentedon Mar 11, 2025
Please add this, this feature really matter, please see screenshot in attachment
And here we can't see these blocks it's an issue

hanneslsm commentedon Mar 11, 2025
@orionp13 Feel free to contribute by reviewing and sharing your opinion on the PR #69388 from @Sukhendu2002 to keep the discussion going
Mamaduka commentedon Mar 11, 2025
This could be a user/community plugin; it doesn't have to be a part of the core. To my best knowledge, it doesn't align with the current block editor's design guideline. cc @WordPress/gutenberg-design.
orionp13 commentedon Mar 11, 2025
Please review these design guideline it's not normal that we can't see block
buzztone commentedon Mar 11, 2025
@Mamaduka can you please add a link to the "current block editor's design guideline".
Mamaduka commentedon Mar 12, 2025
I don't recall the design team creating a handbook; it's just a direction they're moving towards. I'm not a designer, and I'm sure they can explain it better.
More of the design explorations are shared on https://make.wordpress.org/design/.
orionp13 commentedon Mar 12, 2025
I believe the "Boundary View Mode" should be integrated by default in Gutenberg. Currently, the lack of visual cues makes editing more difficult, especially for complex layouts.
👉 Many modern editors (Elementor, Webflow, Figma) already offer this kind of feature.
👉 It does not affect the final display and can be toggled on or off as needed.
👉 Better visibility reduces errors and improves the user experience.
This request is legitimate and widely supported by the community. It would be a shame to rely on third-party plugins for such a fundamental feature!
paaljoachim commentedon Mar 12, 2025
Something similar to this has been discussed earlier but I do not recall what happened with it. As it is a good idea to get a boundary overview of the canvas area. Some good searching here on Github might show some earlier discussions.
ajitbohra commentedon Mar 12, 2025
We have a similar spotlight mode, which can help with better navigation and block selection. You can toggle this as needed.
spotlight-mode-editor.mp4
Further, we have an outline on the block icon hover in the toolbar (this can be updated to show an outline when the block is selected/hovered)
outline-block.mp4
afercia commentedon Mar 12, 2025
Noting that as implemented in the associated PR #69388 this feature also adds a blue outline to the selected block, which is much needed for accessibility.
The selected block used to have a visible outline. It was removed in WordPress 5.5. See #23892 which is an accessibility regression reported more than 4 years ago.
Although Boundary Mode would only reintroduce the outline behind a preference, I strongly advocate in favor of it.
hanneslsm commentedon Mar 12, 2025
I like that this discussion gets some traction.
I must say that I'm also in big favor of a boundary mode and that's why I always add the CSS from above to enhance the UX. I couldn't live without it anymore.
The advantages of a boundary mode (and my code are with hover are):
Real life example:
CleanShot.2025-03-12.at.14.27.16.mp4
deutrino commentedon Jul 3, 2026
It's probably worth noting that this regression was originally brought up in #23892 and has now been languishing with no decisions made for 6 years.
feat(editor): refine block boundaries
feat(editor): refine block boundaries
cbirdsong commentedon Oct 8, 2026
I've added custom CSS to do this for many years now, and it makes creating/editing layouts in the editor much more comprehensible:
It's very easy for users to end up with unnecessary layout/wrapper blocks when they just invisibly stack up:
Visually, these two sets of blocks look exactly the same in the editor:
But with block outlines it's very clear:
It makes some sense to offer a perfectly WYSIWYG-style experience when all that the user is editing is content, but as soon as more complex layouts enters the picture it's not a great fit.