Module Description
The Layout Builder Component Attributes module allows editors to add HTML attributes to Layout Builder components (blocks). Attributes can be added to 1) the block (outer) element, 2) the block title, and 3) the block content (inner) element.

(In order for attributes to be rendered on the the block content (inner) element, the active front-end theme must support content_attributes in its block.html.twig file. See README.md for more information.)

The following attributes are supported:


* ID
* Class(es)
* Style
* Data-* attributes

Note: The preferred installation method is Composer; however, beginning with version 1.1.0, this module also supports Ludwig for its dependencies.

Related Modules Layout Builder Styles - Allows site builders to select from a list of styles to apply to Layout Builder blocks and sections. Styles are a set of defined CSS classes. Block Attributes - Allows for attributes to be added to blocks (no Layout Builder support) Block Class - Allows for classes to be added to blocks (Layout Builder support is postponed, pending core patch)

Project Usage
4982
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The Layout Builder Component Attributes module aims to allow editors to add HTML attributes to Layout Builder components (blocks) for customization and styling purposes.
Data Name
layout_builder_component_attributes

OPENAI CHATBOT

OPENAI CHATBOT

13:09:50
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.