Closed anand-gopinath closed 6 years ago
hello @anand-gopinath,
mjml2html
is now the default exported function, so you don't need the brackets anymore (documented here)If you're interested, we have an advanced responsive email builder that can be embedded into third-party apps, happy to chat about it.
Cheers!
@ngarnier Hi, just wanted to know more about the email builder? Could you point me in the right direction?
@Amandeepsinghghai you can try it here: https://www.mailjet.com/demo/. If you're interested in embedding it inside your app, you can provide some info about your use case and request a quote here: https://hello.mailjet.com/en-demo/ (note this is an enterprise feature).
Hi @ngarnier
We are using Grapesjs https://github.com/artf/grapesjs-mjml as a template builder which uses MJML parser to convert MJML code into HTML code. It uses v3.3.5 and recently I upgraded to "version4.0-beta" for the efficient parser functionalities. But it throws some error which I already discussed at #928.
The demo link http://grapesjs.com/demo-mjml.html
My aim is to develop responsive email using MJML with the help of this editor.
When we start to drag and drop some elements into the canvas, it will convert the MJML code to HTML code and render into the editor. Its calling
mjml2html
parser for this process, where that has been bundled into client side as a minified file https://github.com/artf/grapesjs-mjml/blob/master/dist/grapesjs-mjml.min.js (it is heavy in size and i'm bothering the load time as well in the browser)So, The questions are
import { mjml2html } from 'mjml';
was working fine with lower version and not in higher version?Thanks in Advance