-
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
Fix entity spotlight system. #28239
Fix entity spotlight system. #28239
Conversation
Size Change: +110 B (0%) Total Size: 1.28 MB
ℹ️ View Unchanged
|
TestingBehaviorClicking on a template part inner block dims all content outside of the template part for:
Browsers
I couldn't test IE11 because of an existing bug on master that borks the full site editor. For some reason, when I try to visit it, the editor automatically removes "Fullscreen mode" and displays a wsod like so: I don't think the IE11 issue should block the spotlight code changes since the problem existed prior to this PR. |
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.
This PR is reintroducing the exact same classname styles from 4d544b7 and successfully reintroduces the spotlight system.
LGTM 🚢
Issue for the IE11 bug #28249 |
Description
Fixes the entity spotlight system that was broken in #27271. The noted PR stripped the CSS that enabled this system with little to no discussion or explanation and for the sake of testing a hover border system that it did not conflict with.
Adding this missing CSS back in this PR will re-enable the spotlight mode for template-parts, if this needs to be disabled for template parts this should be done by editing the settings array passed on initialization of the editor and not by removing the styles for the system. However, clarity of what is/is not part of the template part currently being edited is a very large concern and this spotlight works with other tools to solve this issue (I will re-add the border states that were also stripped in a separate PR). Until we have other systems to appropriately convey this designed and implemented, we should not be removing the entity spotlight.
How has this been tested?
Screenshots
Types of changes
Checklist: