wcmmode in components, DOM loads in preview mode
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.
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.
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.html?lang=en
For custom generated dom you can simply put logic based on your authored properties.
Hope this helps!!
Thanks
Dipti
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.