Customizing aem core carousel component – Panel selection is not visible in authoring dialog

Avatar

Avatar

karanmahi

Avatar

karanmahi

karanmahi

22-02-2021

We are customizing aem core carousel component, we have created a proxy component from where we doing resource supertype to core carousel v1 component. We want to override the markup of this component. But the issue is, when we override the markup, the “panel” selection option is not visible in the authoring dialog. I mean the panel icon after the first icon in the authoring dialog. Look at the screenshot. It looks like markup is tightly coupled with when panel selection visibility. Is there any way that we can override html and retain the panel selection option? What would be the bare minimum we need from the core carousel component to achieve this. Any pointers will be highly appreciated.

 

Core carousel - notice 2nd-panel icon (after ranch option)

 

image.png

 

2nd-panel icon not visible here

image.png 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Shashi_Mulugu

MVP

Avatar

Shashi_Mulugu

MVP

Shashi_Mulugu
MVP

22-02-2021

@karanmahi If you want to write your own HTML, those things will not work so easily.. As of i know, those features are tightly coupled with html classes and data-* attributes.

Below are few clientlibs, you need have to make Childreneditor and PAnel select work along with HTML(classes and data-*).

childreneditor - /apps/core/wcm/components/commons/editor/dialog/childreneditor/v1/childreneditor
editor - /apps/core/wcm/components/carousel/v1/carousel/clientlibs/editor
editorhook - /apps/core/wcm/components/carousel/v1/carousel/clientlibs/editorhook
panelcontainer - /apps/core/wcm/components/commons/editor/clientlibs/panelcontainer
panelselect - /apps/core/wcm/components/commons/editor/clientlibs/panelselect

Answers (0)