-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add block editor setting to allowZoomLevel #67245
Conversation
@@ -186,6 +187,7 @@ function useBlockEditorSettings( settings, postType, postId, renderingMode ) { | |||
userPatternCategories: getUserPatternCategories(), | |||
restBlockPatternCategories: getBlockPatternCategories(), | |||
sectionRootClientId: getSectionRootBlock(), | |||
allowZoomLevel: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what the criterion is to allow/disable here. Something about the presence of a <main>
tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not have an allowZoomLevel
, instead if there is no sectionRootClientId
means zoom out should not auto engage.
Size Change: +54 B (0%) Total Size: 1.82 MB
ℹ️ View Unchanged
|
What?
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast