GrapesJS / mjml

Newsletter Builder with MJML components in GrapesJS
http://grapesjs.com/demo-mjml.html
BSD 3-Clause "New" or "Revised" License
618 stars 218 forks source link

Does the MJML plug-in have an api for converting html to mjml? #334

Closed yongma16 closed 11 months ago

yongma16 commented 11 months ago

The purpose is to import html and edit it in mjml. Where can I find relevant information?

SebastianStehle commented 11 months ago

This is not possible. MJML prints out very specific html, that would be really hard to parse. It is not that every mjml element is just one html element.

artf commented 11 months ago

Exactly what @SebastianStehle said, but if one day MJML devs will be able to solve that, it would be just a matter of using their API.