GrapesJS / mjml

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

mj-button disappear after import #280

Closed stellagusmini closed 2 years ago

stellagusmini commented 2 years ago

I have this mjml code `

Learn more Hello There!

`

Here "learn more" button is after mj-image. After import mjml code, mj-button "learn more" is not visible. If I put the code after "hello there!" mj-button, the button is visible.

DRoet commented 2 years ago

duplicate of https://github.com/artf/grapesjs-mjml/issues/149

workaround would be to mj-image a proper closing tag: <mj-image width="200px" src="https://designspell.files.wordpress.com/2012/01/sciolino-paris-bw.jpg" id="iunmg"></mj-image>