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: Add an Editor setting to disable Zoom out mode #63584

Open
ndiego opened this issue Jul 15, 2024 · 6 comments
Open

Zoom out: Add an Editor setting to disable Zoom out mode #63584

ndiego opened this issue Jul 15, 2024 · 6 comments
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Feature] Zoom Out Needs Decision Needs a decision to be actionable or relevant [Type] Enhancement A suggestion for improvement.

Comments

@ndiego
Copy link
Member

ndiego commented Jul 15, 2024

The experimental Zoom out mode is very exciting and should make composing sites with patterns much easier for the vast majority of WordPress users.

That said, there are going to be scenarios where the mode is not what the user/developer wants. Perhaps they only use a few patterns, and they are not designed as sections. Either way, when the mode is officially released, it should come with an Editor setting that allows developers to easily disable it if needed in their environment using existing filters like block_editor_settings_all.

@ndiego ndiego added [Type] Enhancement A suggestion for improvement. [Feature] Extensibility The ability to extend blocks or the editing experience [Feature] Zoom Out labels Jul 15, 2024
@maddisondesigns
Copy link

Agreed! We need an option to disable this annoying functionality. Shrinking the layout doesn't automagically make the page easier to edit. It's also supposed to 'Zoom Out' when you switch back to the Blocks tab, but it's unreliable and that doesn't always happen. This option needs to be added before 6.7 is rolled out.

@xenio
Copy link

xenio commented Nov 26, 2024

Is there an option to disable Zoom out in WP 6.7.1? I can't find it, it is very annoying feature. :(

@Adi77
Copy link

Adi77 commented Dec 20, 2024

Please add an option to disable the zoom out function.

@carolinan carolinan self-assigned this Jan 24, 2025
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jan 24, 2025
@carolinan
Copy link
Contributor

There is not much detail, but my interpretation of comments on the linked PR, is that block_editor_settings_all should no longer be used. Without having the background information about why, my opinion is that implementing it as a Rest API filter is more difficult both for the implementor (hi) and the developer who wants to manage which features that are available.
I need more experienced contributors to explain and motivate why the Rest API would be the preferred choice.
The developer experience needs to be considered too, there are now at least 4 different ways to disable different features using PHP and its not ideal. (I'm not even counting JS)

Now for the setting or filter, how granular is it expected to be?

  • On/off
  • Per post type?
  • template post type only?

@carolinan carolinan removed the [Status] In Progress Tracking issues with work in progress label Jan 27, 2025
@carolinan carolinan removed their assignment Jan 27, 2025
@carolinan carolinan added the Needs Decision Needs a decision to be actionable or relevant label Jan 27, 2025
@maddisondesigns
Copy link

@carolinan My preference would be for an option to simply disable it completely (and also remove the button). The option should be added to the Preferences UI as well, and not force people to have to add PHP to disable it.

@turansadri
Copy link

Is there still a way to disable the Zoom out mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Feature] Zoom Out Needs Decision Needs a decision to be actionable or relevant [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants