WordPress / gutenberg

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

Merge Zoom Out and "Edit" (Select) Modes #65736

Open getdave opened 1 week ago

getdave commented 1 week ago

In the Gutenberg Plugin we currently have 3 editor modes:

The last two modes have a number of similarities in terms of focusing on simplifying the editing experience and focusing on content.

The main different is that Zoom Out currently only allows selection of "sections" and doesn't not allow editing of the content of those sections. However, based on testing it seems that in Zoom Out mode users would likely want to make small edits to content whilst "zoomed out".

Note: there is not suggestion that users would wish to write long form content in this mode. But when editing say, a homepage, it's likely that a user might wish to select a particular section and make a change to the heading of that section without having to exit the "zoomed" experience.

Proposal

We should consider merging Zoom Out and Edit modes to provide the best overall experience. This would have the benefit of providing a standardised and improved UX whilst also removing duplication of "modes" in the Editor.

To do this we should explore:

richtabor commented 1 week ago

Related https://github.com/WordPress/gutenberg/pull/65702.

getdave commented 1 week ago

@colorful-tones Thanks for the admin on this Issue. Just so you know that the work in this PR cannot land in 6.7 because only Zoom Out mode has been targeted for this release.

afercia commented 6 days ago

Coming here from https://github.com/WordPress/gutenberg/issues/65856

I'd totally share @getdave's idea that Write, Design, and Zoom Out are, conceptually (and technically), three different modes of the editor. However, instead of conflating the concept of alternative editing modes into the current zooming tool, I'd think it would be best to provide users with a more explicit concept that is easier to understand and use.

In https://github.com/WordPress/gutenberg/issues/65856 I'm proposing to expand the concept of 'Modes' as in: the editor provides alternative editing modes that are explicit, clearly presented and prominent in the UI and easily usable. These are alternative editing experiences and should be grouped into the same concept.

Instead, I'd think the zooming tool should be presented exclusively as 'device emulation' tools and not provide other concepts and interactions. See also https://github.com/WordPress/gutenberg/issues/65918

richtabor commented 5 days ago

Instead, I'd think the zooming tool should be presented exclusively as 'device emulation' tools and not provide other concepts and interactions. See also https://github.com/WordPress/gutenberg/issues/65918

Zooming out without the UX affordances to edit at the pattern level misses the whole point of zoom out. This PR https://github.com/WordPress/gutenberg/pull/65702 is a big step forward in supporting zoom out.

richtabor commented 5 days ago

In this mode, only top-level sections are editable, while individual blocks become disabled. This is ideal for working on large-scale layout adjustments without focusing on individual block details.

Noting that with https://github.com/WordPress/gutenberg/pull/65702, this changes a bit, as you can select nested blocks.