WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.56k stars 4.22k forks source link

Write Mode / Zoom Out: Dark toolbar inconsistency #67409

Open talldan opened 7 hours ago

talldan commented 7 hours ago

Description

In Write Mode, the toolbar is now in a sort of dark mode.

If you have Write Mode and Zoom Out active at the same time, the dark toolbar stays active, even though Write Mode doesn't really do anything when Zoom Out is active (Zoom Out has precedence).

This is definitely part of a larger area where there needs to be more though about the overlap between Write Mode / Zoom Out (maybe the editor tools also shouldn't be shown in Zoom Out), though this issue feels like it can also be solved separately. A couple of options:

cc @WordPress/gutenberg-design

Step-by-step reproduction instructions

  1. Enable the write mode experiment (Admin sidebar > Gutenberg > Experiments)
  2. Open the site editor and edit a template
  3. Click the Zoom out button on the topbar
  4. Switch between Write and Design mode and observe the toolbar change

Screenshots, screen recording, code snippet

https://github.com/user-attachments/assets/774207d5-3f9a-4861-8144-1b9e856249d9

Environment info

No response

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

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

Please confirm which theme type you used for testing.

jasmussen commented 2 hours ago

Because the two tools are so different in their behavior, the goal of the dark toolbar is to help differentiate between the two all the more, as a very visual aid. In that vein, this is working as expected: if you stay in write mode, across editing layouts and patterns, zooming out and changing colors, the color is meant to correspond to the tool you have selected.

Image

I recognize there's more work to do to on the write tool itself, accentuating that and making it useful across.