Zoom out: Pattern inserter always forces iframe editor #66671
Labels
[Feature] Zoom Out
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When the Patterns tab is selected, the zoom out mode is enabled via the
useZoomOut
hook and the editor behaves as an iframe. On the other hand, if the editor is NOT an iframe, the zoom out toggle is not displayed (#65452).This inconsistency leads to unintended behavior.
Step-by-step reproduction instructions
To make the
useShouldIframe
hook return false, do the following:What is your proposed solution?
Here are my suggested approach for the non-iframe editor:
Screenshots, screen recording, code snippet
51bac6ccd36c6912d649d252502c93ea.mp4
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.
The text was updated successfully, but these errors were encountered: