Content Only mode should allow controls in the Inspector to still be reachable if they are content related #57911
Labels
[Block] Buttons
Affects the Buttons Block
[Block] Group
Affects the Group Block (and row, stack and grid variants)
[Block] Image
Affects the Image Block
[Feature] Block Locking
The API allowing for the ability to lock/unlock blocks
[Type] Enhancement
A suggestion for improvement.
We have more and more controls that I would consider content rather than design tools that are only visible in the Inspector controls of a block. Currently however the content only mode hides the blocks inspector controls entirely.
This is a major issue for things like the Alt text of the image block which cannot be changed in the context of a content only mode.
But also new other tools such as the background image option on the group block, or the rel attribute for buttons, anchor tags for elements etc are common pieces of content that should be editable in the content only mode.
I think with the introduction of the
useBlockEditingMode
we have a robust API to make granular choices about which settings should display in the content only mode and we should therefore rethink the limitation of disabling the inspector all together for content only locking.gutenberg/packages/block-editor/src/components/block-inspector/index.js
Lines 171 to 177 in aec6947
The text was updated successfully, but these errors were encountered: