yarn mjml 3.3.3

latest releases: 5.0.0-alpha.6, 5.0.0-alpha.4, 5.0.0-alpha.3...
7 years ago

Features

  • New component: mj-preview in mj-head enables to set an email preview that will be displayed in email clients but hidden from the body of the email (#388)
  • New attribute: all MJML body tags now support the css-class attribute. The class name set in css-class will be passed to the root HTML element created from the MJML tag as well as the Outlook conditional comment if any, with a -outlook suffix (#532)
  • New attribute: mj-button, mj-image, mj-carousel-image, mj-location, mj-navbar and mj-social now support the rel attribute (#533)
  • mj-social now supports the border-radius attribute (#556)

Fixes

  • The line-height attribute of mj-button is now set to 1.2 by default to avoid any issue with multi-line buttons thanks to @rogierslag
  • The text-transform attribute on mj-link is now correctly validated by the mjml-validator (#596)
  • The alt attribute on mj-image is now set to 13px by default instead of 0px to avoid it from being invisible

Don't miss a new mjml release

NewReleases is sending notifications on new releases.