Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Sling merger/overlay not working

Avatar

Level 7

I have one RTE component which has three stylings I need to add one more 

Ronnie09_0-1654002423524.png

Below bold -> I need to add one more style("PARAFORM") which is to be utilized in only two components. I donot wants to change the rteplugins for RTE component. 

 

How can we achieve this? Using Sling Merger?

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Community Advisor

Hi @Ronnie09 

You can overlay RTE component placing it under /apps(copy paste component from libs/core and customize it)
OR
If the component already under /apps you may create second version and customize it accordingly.
and add additional style into it, for more details how to do please visit this article https://aem4beginner.blogspot.com/how-to-overlay-component-using-sling 

Also to understand Sling Resource Merger how it works check this out
1. https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/sling-resource-mer... 
2. http://www.sgaemsolutions.com/2017/09/sling-resource-merger-in-aem-63.html 

Reference: https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/overlays.html?lang...

Hope that helps!

Regards,
Santosh

Avatar

Correct answer by
Community Advisor

Overlay the RTE component and add your required style in the same.

https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/rich-text-edi...

 

Himanshu Jain