Description
Block settings and other actions can be accessed via an ellipsis menu for items in the list view.
When a block is locked there are no actions/settings, however an empty drop down menu still appears (in BlockSettingsMenu ).
Previously there was a lock icon. See:
const shouldShowLockIcon = isLocked && ! isContentOnly ;
Step-by-step reproduction instructions
Go to any page or post in the post editor
In the Post/Page settings on the right, activate "Show template"
Open the list view and click on the ellipsis menu of non-editable items, e.g., template parts, content or title blocks
Observe that the menu is empty
Screenshots, screen recording, code snippet
2024-06-06.14.22.03.mp4
Environment info
Latest Gutenberg trunk on WP 6.6-beta1-58338
Also on 6.6-beta1-58338 with Gutenberg deactivated
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Description
Block settings and other actions can be accessed via an ellipsis menu for items in the list view.
When a block is locked there are no actions/settings, however an empty drop down menu still appears (in BlockSettingsMenu).
Previously there was a lock icon. See:
gutenberg/packages/block-editor/src/components/list-view/block-select-button.js
Line 64 in 578f7d0
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
2024-06-06.14.22.03.mp4
Environment info
Latest Gutenberg trunk on WP 6.6-beta1-58338
Also on 6.6-beta1-58338 with Gutenberg deactivated
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes