Skip to content

Docs: Update Locking interface example image #70590

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

Merged

Conversation

Adi-ty
Copy link
Contributor

@Adi-ty Adi-ty commented Jul 2, 2025

What?

Closes #70584
Update the Locking Interface image to show the "Apply to all blocks inside" feature.

Why?

The current screenshot in the Block Locking API documentation is outdated and doesn't show the "Apply to all blocks inside" option that was added in PRs #40069 and #41876. The documentation mentions this feature but the visual example doesn't reflect it, which can be confusing for users trying to understand how to apply locking to nested blocks.

How?

  • Updated the locking interface image in /docs/assets/Locking interface.png to show the current UI including the "Apply to all blocks inside" option
  • The image now accurately represents the functionality described in the documentation

Screenshot

Before After
Before After

@Mamaduka Mamaduka added [Type] Developer Documentation Documentation for developers [Feature] Block Locking The API allowing for the ability to lock/unlock blocks labels Jul 2, 2025
@Adi-ty Adi-ty marked this pull request as ready for review July 2, 2025 08:31
Copy link

github-actions bot commented Jul 2, 2025

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: Adi-ty <iamadisingh@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: masteradhoc <masteradhoc@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Mamaduka
Copy link
Member

Mamaduka commented Jul 2, 2025

Thanks, @Adi-ty!

I think there's a lot going on in the new screenshot (the List View is open, etc). Let's try to match the old screenshot in simplicity.

P.S. I've also made minor design adjustments for the lock lock modal (#70593), it's better to take a screenshot using the latest trunk.

@Adi-ty
Copy link
Contributor Author

Adi-ty commented Jul 2, 2025

Okay will update the screenshot

@Adi-ty
Copy link
Contributor Author

Adi-ty commented Jul 3, 2025

Hi @Mamaduka is this image better? I have removed the list view and also removed content with similar content like the previous image.
Screenshot 2025-07-03 at 10 46 58 AM

@Mamaduka
Copy link
Member

Mamaduka commented Jul 3, 2025

@Adi-ty, that's excellent. Thanks for the update!

@Mamaduka Mamaduka merged commit cf6a66a into WordPress:trunk Jul 3, 2025
59 checks passed
@github-actions github-actions bot added this to the Gutenberg 21.2 milestone Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block Locking The API allowing for the ability to lock/unlock blocks [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Locking Blocks with all subblocks
2 participants