-
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 back editor-post-locked-modal to post lock component. #64257
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
Makes sense ✅
Size Change: +1.24 kB (+0.07%) Total Size: 1.77 MB
ℹ️ 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.
Thanks @spacedmonkey 🙌
Ensure the `editor-post-locked-modal` class remains unchanged because third-party plugins depend on it. This change prevents potential breakages in plugin functionality.
Flaky tests detected in 14e9eb6. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/10285311224
|
…64257) * Add back editor-post-locked-modal to post lock component. * Add comment to preserve class in post-locked-modal Ensure the `editor-post-locked-modal` class remains unchanged because third-party plugins depend on it. This change prevents potential breakages in plugin functionality.
What?
The
editor-post-locked-modal
class name on the post lock component was remove in#58197
This PR brings back this class name.
Why?
This class name is useful and my team uses to customise the post locking dialog. We use it for style the component, add extra buttons and for e2e tests.
Also it means that classes like
editor-post-locked-modal__avatar
do not make sense.editor-post-locked-modal__avatar
is meant a sub class ofeditor-post-locked-modal
that no longer exists.How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast