Author uses "Span" component, becomes "Block"
I have several components that are "span" type components. When a author drags them onto a page, the system creates a "div" around those components making them "block".
Is there any way to prevent AEM from automatically creating the surrounding DIV. It is extra markup that is not needed.
The component is built using Sightly and Java Use.
This is using AEM 6.1 and the Touch UI. I am not able to use "data-sly-unwrap" as the div is not part of the sightly, yet I don't want it to render.
Expected Code
<a href="#" class="class-name">Label of Button</a>
Output Code
<div class="name-of-component"> <a href="#" class="class-name">Label of Button</a> </div>
Thanks.