Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adobe CQ/AEM: Add style selector for text component. To be added in .content.xml under /etc/designs/...abc.../
<basepage jcr:primaryType="nt:unstructured">
<mainParagraph
jcr:lastModified="{Date}2014-01-17T17:44:04.712-08:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
components="[group:General,group:Columns,group:Form]">
<section jcr:primaryType="nt:unstructured"/>
<text jcr:primaryType="nt:unstructured">
<cq:styles jcr:primaryType="nt:unstructured">
<columns
jcr:primaryType="nt:unstructured"
title="Columns">
<no-columns text="No" value="" jcr:primaryType="nt:unstructured" />
<two-columns text="2 Columns" jcr:primaryType="nt:unstructured" />
</columns>
</cq:styles>
</text>
</mainParagraph>
<headerParagraph
jcr:lastModified="{Date}2014-01-17T17:44:04.712-08:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
components="[group:General,group:Columns]">
<section jcr:primaryType="nt:unstructured"/>
</headerParagraph>
<footerParagraph
jcr:lastModified="{Date}2014-01-17T17:44:04.712-08:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
components="[group:General,group:Columns]">
<section jcr:primaryType="nt:unstructured"/>
</footerParagraph>
</basepage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.