adobe / adobe/aem-react-editable-components

[bug] Not being able to apply self-defined css classes to Layout Container

Open
#83 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
68
Forks
35
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Layout Container not able to register the custom CSS classes defined in the Template Policy. I'm running a React SPA pages in AEM

**Package version**
v1.1.10 with AEM 6.5.5

**To Reproduce**
1. Go to any SPA Page template
2. In an existing Layout Container component, go to its template policy
3. Add the custom css class and go back to the template editor page
4. Hover the layout container and add the css class with the Styles icon
5. CSS classes are not being applied to the Layout Container

**Expected behavior**
The CSS class(es) should be applied to the Layout Container

**Screenshots**
1.
![step-1](https://user-images.githubusercontent.com/15817567/133914850-e06a629d-5732-4369-86d9-c6c100586ee3.PNG)

2.
![step-2](https://user-images.githubusercontent.com/15817567/133914857-c70bdd74-2b2c-40d8-8854-39f3a85f6074.PNG)

3. Actual behavior
![actual-behavior](https://user-images.githubusercontent.com/15817567/133914862-4951fc0f-3e05-4091-90b7-128574425550.PNG)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.