Layout Builder Asset Injector
Layout Builder Asset Injector

This project is not covered by Drupal’s security advisory policy.

INTRODUCTION
------------
This module allow site builders to add a CSS and to apply to layout builder blocks.This module is definitely not a replacement for theming, but it provides site administrators with a quick and easy way.

CSS Injector
Allows administrators to inject CSS into the page output based on configurable rules. It's useful for adding simple CSS tweaks without modifying a site's official theme.

Block class will be appended automatically to each css.

E.g.
When we add a css as given below:

h1.node__title {
  background-color:red;
}

It will automatically append the class of the block for which css is added after save.

.block-field-blocknodepagebody h2.node__title{
   background-color:red;
}

Note
-----------
Kindly refrain from adding block(selected from the layout builder) ids as block class is appended automatically.

MAINTAINERS
* Kishor Kolekar (https://www.drupal.org/u/kishor_kolekar)

* Harshal Pradhan (https://www.drupal.org/u/hash6)


CONFIGURATION

-------------
No configuration is needed.

Supporting organizations: 

Project information

Releases