Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HtmlTag does not support additional properties #83

Open
cmacioch opened this issue Mar 29, 2019 · 0 comments
Open

HtmlTag does not support additional properties #83

cmacioch opened this issue Mar 29, 2019 · 0 comments

Comments

@cmacioch
Copy link

The HtmlTag should have support for additional properties.
It should be possible to produce the following XML using the HtmlTag annotation:

    <cq:htmlTag jcr:primaryType="nt:unstructured"
                cq:tagName="nav"
                class="component breadcrumb"
                aria-label="Breadcrumb"
                additionalAttributeName="additionalAttributeValue"/>

The above XML is valid and it results in adding all of the non-standard attributes to the component decoration tag.
Adobe documentation mentions that properties other than 'cq:tagName' and 'class' will be added as HTML attributes with the same String value as provided.
https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/decoration-tag.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant