You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nav block list view - Page List (parent) doesn't provide context that it is locked whereas children do. #48018
@getdave or @draganescu Any advice on where to look for adjusting this? I am not sure why page list itself would not identify itself as locked. I think this is a block attribute but wouldn't a locked state get outputted at a fairly global level?
I am trying to figure out if the issue is with useBlockLock or the block itself. I think it might be the page-list block itself. It seems to not have any templateLock attribute. I do not know how to update blocks at the moment. According to the hook, it does get the rootClientId so I would think it should be able to detect if the parent block is locked.
Figured I would try to take a quick look at this to see if I could make the release but I think this is currently a bit too much out of scope of my current knowledge. I have never studied the block API.
Closing as obsolete. This was filed from the OffCanvasEditor accessibility follow-up work, and the parent audit #46939 was closed after OffCanvasEditor was removed in #50705. This OffCanvasEditor implementation no longer exists.
Activity
alexstine commentedon Feb 27, 2023
@getdave or @draganescu Any advice on where to look for adjusting this? I am not sure why page list itself would not identify itself as locked. I think this is a block attribute but wouldn't a locked state get outputted at a fairly global level?
Thanks.
getdave commentedon Feb 27, 2023
@alexstine The lock status of the block for the Navigation block list view (only) is accessed here
gutenberg/packages/block-editor/src/components/off-canvas-editor/block.js
Line 61 in 88e3406
This uses the
useBlockLockhook from the@wordpress/block-editorpackage.I hope that helps?
alexstine commentedon Feb 27, 2023
I am trying to figure out if the issue is with
useBlockLockor the block itself. I think it might be the page-list block itself. It seems to not have anytemplateLockattribute. I do not know how to update blocks at the moment. According to the hook, it does get therootClientIdso I would think it should be able to detect if the parent block is locked.Figured I would try to take a quick look at this to see if I could make the release but I think this is currently a bit too much out of scope of my current knowledge. I have never studied the block API.
Thanks.
draganescu commentedon Mar 6, 2023
#48723 may remove this issue, or part of it.
scruffian commentedon Aug 12, 2026
Closing as obsolete. This was filed from the OffCanvasEditor accessibility follow-up work, and the parent audit #46939 was closed after OffCanvasEditor was removed in #50705. This OffCanvasEditor implementation no longer exists.