Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Dipti_Chauhan
Dipti_ChauhanAccepted solution
Community Advisor
July 19, 2021

Hi @man699sr 

 Not sure about your exact requirement but if you simple want to disable editing than you can set cq:noDecoration as true at component level.

 

Thanks

Dipti

2 replies

arunpatidar
Community Advisor
Community Advisor
July 19, 2021

you can do it simply by adding decorationTag 

https://aemlab.blogspot.com/2018/11/aem-restrict-component-editing-and.html

 

you can add extra classes also if you want to add styling in edit mode

Translate
Arun Patidar
Dipti_Chauhan
Community Advisor
Dipti_ChauhanCommunity AdvisorAccepted solution
Community Advisor
July 19, 2021

Hi @man699sr 

 Not sure about your exact requirement but if you simple want to disable editing than you can set cq:noDecoration as true at component level.

 

Thanks

Dipti

Translate