Problem/Motivation
Currently no ability to add classes to blocks in Layout Builder.
Block Class module cannot introduce this feature for Inline Blocks due to a pending core patch. See #2998114: Integration with Drupal core's new Layout Builder.
Proposed resolution
Add Layout Builder Component Attributes module to be enabled by default.
https://www.drupal.org/project/layout_builder_component_attributes
#3143804: Add support for Layout Builder Component Attributes extension integration with Layout Builder UX
Remaining tasks
Add the module.Enable by default (with hook_update for existing sites)Provide default config(such as permissions ...etc.)
User interface changes
Introduced from the module.
#3143804: Add support for Layout Builder Component Attributes extension integration with Layout Builder UX
Watch Videos
![]()
https://youtu.be/FoGrKd6UDY0
API changes
None.
Data model changes
None.
Comments
Comment #2
rajab natshahNoted;
Based on the Schema
https://git.drupalcode.org/project/layout_builder_component_attributes/-...
I'm only having the Inline CSS styles false
layout_builder_component_attributes.settings.yml
#3171155: Fix order of data value for allowed_block_content_attributes in layout_builder_component_attributes.settings
Comment #4
rajab natshahPermissions:
Comment #5
rajab natshahComment #7
rajab natshahHaving an integration issues
When the Layout Builder UX module is enabled
Then the "Manage attributes" block context is not showing up
Comment #8
rajab natshahComment #9
rajab natshah#3143804: Add support for Layout Builder Component Attributes extension integration with Layout Builder UX
Comment #10
rajab natshahComment #11
rajab natshahComment #13
rajab natshahComment #14
rajab natshahComment #15
rajab natshahComment #16
rajab natshahComment #17
rajab natshahComment #18
rajab natshahComment #19
rajab natshahThis feature is ready
only permissions for user roles in Varbase profile
Comment #20
rajab natshahComment #21
rajab natshahComment #22
rajab natshahComment #23
rajab natshahComment #24
rajab natshahComment #25
rajab natshahComment #26
rajab natshah