how to export the HTML
See original GitHub issueHi Artf,
I seem to be bothering you on all fronts. Sorry.
I want to be able to get the converted mjml (HTML). What command should I use to get this?
If i open the “view code” dialog if gives the error: “Line 22 (mj-body) — Element mj-body doesn’t exist or is not registered” . The mjml side all looks fine but nothing renders on the HTML side.
It also throws a js error:
grapes.min.js:2 Uncaught TypeError: Cannot read property 'split' of undefined at Xs (grapes.min.js:2) at Pa.splitLines (grapes.min.js:2) at Pa.<anonymous> (grapes.min.js:2) at Pa.setValue (grapes.min.js:2) at Ho.setValue (grapes.min.js:2) at n.setContent (grapes.min.js:2) at n.run (grapesjs-mjml.min.js:108) at n.updateActive (grapes.min.js:2) at y (grapes.min.js:2) at v (grapes.min.js:2)
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
If you include the tags:
into your code it does not work. Your code appends those tags already, so you end up getting something like:
which the converter then fails on.
@Chronis77 good to know, but I didn’t get if the error is caused by your config with
preMjml
/postMjml
or something else