Skip to content
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

Zoom Out: All Template Content Must Be Inside Containment Block #65145

Open
2 tasks done
cat-og opened this issue Sep 9, 2024 · 1 comment
Open
2 tasks done

Zoom Out: All Template Content Must Be Inside Containment Block #65145

cat-og opened this issue Sep 9, 2024 · 1 comment
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended

Comments

@cat-og
Copy link

cat-og commented Sep 9, 2024

Description

If the content on a template is outside of a containment block such as a Group, Row, Stack, etc, it becomes almost impossible to work with the Zoomed Out view. The 'plus' symbols to add new patterns to not appear, and if you use the toolbar or list view to add a new block instead, you can not interact with this block to add new content.

Step-by-step reproduction instructions

  1. Open any template in the Editor
  2. Move template content outside containment block
  3. Switch to the 50% Zoom View, and try to add a new pattern

Screenshots, screen recording, code snippet

Screen.Capture.on.2024-09-08.at.23-56-43.mp4

Environment info

  • Chrome on Mac, tested with TwentyTwentyFour and Assembler

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes
@cat-og cat-og added the [Type] Bug An existing feature does not function as intended label Sep 9, 2024
@getdave
Copy link
Contributor

getdave commented Sep 19, 2024

Thanks for reporting. We're looking at solutions for improving the detection around "containment" (section root) in #65400.

That said, this seems like a separate issue. Namely, what happens if the user deliberately (or otherwise) moves blocks outside of the "section root" block (the one we've detected as the "root" of the main content of the page)? How shoudl the editor behave.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants