Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

wcmmode in components, DOM loads in preview mode

Shetty119
Level 2
Level 2

Hi Team,

 

Drag and drop components into the page and don't author it. Go to preview mode the Dom gets loaded.

How do I avoid this ?

 

Thanks,

Soujanya.

 

1 Accepted Solution
Dipti_Chauhan
Correct answer by
Community Advisor
Community Advisor

Hi @Shetty119 

 to remove AEM generated wrapper div you can setcq:noDecoration  property. You can find more details here: https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/decoration-tag.h...

 

For custom generated dom you can simply put logic based on your authored properties.

 

Hope this helps!!

Thanks

Dipti

View solution in original post

0 Replies
Dipti_Chauhan
Correct answer by
Community Advisor
Community Advisor

Hi @Shetty119 

 to remove AEM generated wrapper div you can setcq:noDecoration  property. You can find more details here: https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/decoration-tag.h...

 

For custom generated dom you can simply put logic based on your authored properties.

 

Hope this helps!!

Thanks

Dipti

View solution in original post