Empty toolbar element is visible when editing template parts in isolation #41047
Labels
[Block] Template Part
Affects the Template Parts Block
[Feature] Template Editing Mode
Related to the template editor available in the Block Editor
Description
When you create a new template part or edit a template part in isolation, and reduce the browser window width,
there is an empty element with the class ".block-editor-block-contextual-toolbar" at the top of the editable area/ canvas, inside the dark grey border.
Because it is inside the dark grey border, it looks like it is in the editable area and the elements visible border is confusing.
In comparison, when editing a template in isolation in the template editor, this element is above the dark grey border.
When editing a template in the Site Editor, the element is above the canvas.
Step-by-step reproduction instructions
(In Twenty Twenty-two, using a dark header template part, it will show as a white field above the dark header)
Screenshots, screen recording, code snippet
Template part:
Template in template editor:
Template in Site Editor:
Environment info
6.0 RC 2.
With and without Gutenberg trunk
beta tester plugin
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: