在 AEM 6.3 版中,是否可以在没有 'aem-GridColumn' class(es) 的情况下渲染组件?

In version AEM 6.3, is it possible to have a component render without the 'aem-GridColumn' class(es)?

这是正在呈现的内容:

<div class="aem--inline-span aem-GridColumn aem-GridColumn--default--12 cq-Editable-dom">
    <a class="btn learn-more">
        Contact Sales
    </a>
</div>

理想情况下,我的标记看起来像这样:

<div class="aem--inline-span cq-Editable-dom">
    <a class="btn learn-more">
        Contact Sales
    </a>
</div>

我想避免为此使用 JavaScript hack。

感谢观看。

添加 aem-GridColumn 类 是因为您正在使用响应式 parsys (wcm/foundation/components/responsivegrid) 及其关联的 "Layouting" 模式。

要防止添加这些 类,您需要使用普通的 parsys (wcm/foundation/components/parsys)。

https://docs.adobe.com/docs/en/aem/6-3/administer/operations/page-authoring/configuring-responsive-layouting.html