core
core copied to clipboard
Move the containers toolbar into a container div in edit mode
Describe the bug
Containers directly in the <body style="display: flex">
(no wrapper around) breaks the container.
To Reproduce Steps to reproduce the behavior:
- Create an advanced template with this code (update the container if need it)
- Create a page and assign that template
- Edit the page and add a piece of content (if you can)
- See error

Expected behavior Container should work under any circumstances.
Additional context
The problem is that the container toolbar lives outside the container div and gets affected by the outside CSS (like the body
).