close
Skip to content

Zoom out mode doesn't persist when switching to code editor or between templates #65783

@simison

Description

@simison

Description

When in zoomed-out view and switching to the code editor, the zoomed-out mode doesn't persist when closing the code editor. However, the button in the header remains active.

Step-by-step reproduction instructions

Enable zoomed-out view (tested in post editor):

Screenshot 2024-10-01 at 14 13 48

Switch to code editor:

Screenshot 2024-10-01 at 14 13 59

Exit code editor:

Screenshot 2024-10-01 at 14 14 33

Note how the editor isn't in zoomed-out mode but the zoomed-out button remains active:

Screenshot 2024-10-01 at 14 14 46

Screenshots, screen recording, code snippet

No response

Environment info

  • Gutenberg trunk as of Oct 1
  • Chrome

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

Metadata

Metadata

Assignees

Labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions