Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gymforless/mjml

 
 

Repository files navigation

MJML 4 - fork

This is a fork from mjml.

We added the following changes:

mj-button custom-link-attrs

The mj-button now also accepts the custom-link-attrs attribute. Whatever value you indicate there is added inside the opening link tag <a HERE >.

Note: for now the value doesn't seem to support quotes, so we would need to fix it to allow attributes with values, like my-attr="something".

Example:

<mj-button custom-link-attrs="mc:disable-tracking" href="#">Click me</mj-button>

Will generate a button layout including this link:

<a mc:disable-tracking href="#">Click me</a>

About

MJML: the only framework that makes responsive-email easy

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%