style tag breaks convertkit
See original GitHub issueDescribe the bug The default MJML output creates a style tag in the head. This creates a problem for anyone like me who uses Convertkit to send emails. Like many email sending platforms, they don’t support style tags, only inline styles.
To Reproduce Steps to reproduce the behavior:
- Create a file with this MJML code:
<mj-body background-color="#ffffff" width="100%">
<mj-section>
<mj-column>
<mj-text>
testing MJML output
</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>
- Render it to HTML by using the Copy HTML command in VS Code
- Save the HTML output in Convertkit
- See style tag as text
Expected behavior No styles at all in the head.
MJML environment (please complete the following information):
- OS: macOS
- MJML Version 4.2.0
- MJML tool used: VS Code plugin (https://marketplace.visualstudio.com/items?itemName=attilabuti.vscode-mjml)
Email sending environment(for rendering issues): Convertkit
Affected email clients (for rendering issues): all
Screenshots
MJML’s styles get rendered in the email:
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Our email designer helps you write simple, beautiful emails
Start sending simple, beautiful emails and email templates that get your audience's attention with ConvertKit's email designer.
Read more >Style the clean embed form with CSS in ConvertKit ... - YouTube
How to style the clean embedded ConvertKit form with CSS when you want to modify the margins or padding and alignment.
Read more >How to create a ConvertKit Email TEMPLATE with HTML and ...
In this tutorial I walk you through creating a simple ConvertKit HTML and CSS template for your emails. ConvertKit doesn't have a ...
Read more >Creating and Using Buttons in ConvertKit Emails
Paste that code anywhere in your template between the beginning style tag creating and using buttons in ConvertKit emails and the ending ......
Read more >10 things you need to know about ConvertKit's new form builder
All existing ConvertKit forms and landing pages will continue to ... The ability to add in custom fields and tag checkboxes/dropdowns is ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ConvertKit has given me access to their new editor beta, and so far it seems compatible with MJML. I’ll keep anyone here interested up to date.
@harrydry2 yes it works now with Convertkit’s new editor, currently in beta.