-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Use the EditorSkeleton component in the edit-site page #20440
Conversation
e802e74
to
2f44d17
Compare
Size Change: -525 B (0%) Total Size: 864 kB
ℹ️ View Unchanged
|
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.
Nice PR!
role="region" | ||
aria-label={ __( | ||
'Widgets screen content' | ||
) } | ||
tabIndex="-1" |
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.
Can we remove this?
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 didn't because there's an onFocus handler. So it must be important for block unselection.
To avoid duplicating the same CSS over and over, this PR reuses the EditorSkeleton in the edit-site package. It also removes some leftovers from the edit-widgets package.