mjml-react icon indicating copy to clipboard operation
mjml-react copied to clipboard

Support for templating fields within style attributes

Open nick-avi-say opened this issue 3 years ago • 1 comments

Hi, currently when using variables in fields. The render method strips out the value. Tried setting validation to skip, and that alleviates the error thrown, but the string "{{myVariable}}" is still stripped

<MjmlBody backgroundColor="{{myVariable}}">

nick-avi-say avatar Mar 01 '22 21:03 nick-avi-say

PR created here https://github.com/wix-incubator/mjml-react/pull/74

nick-avi-say avatar Mar 04 '22 17:03 nick-avi-say

This project is not maintained anymore so there will be no fix proposal.

daliusd avatar Sep 05 '22 07:09 daliusd