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

Attributes for inner link in button and menu-item #94

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

AliakseiT
Copy link

To enable attributes directly on inner <a href=""></a> of button and menu-item we can transfer parent's element attributes that start with href-. E.g. <button href-clicktracking="off" href="https://my.domain.com">...</button>
after processing will contain ...<a clicktracking="off" href="https://my.domain.com">...</a>...

This enables usage of custom attributes like Sendgrid's clicktracking="off".

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

Successfully merging this pull request may close these issues.

2 participants