Closed yongma16 closed 11 months ago
I have the same issue with Lit Element. This problem can be related because React and Lit are using web-components.
thank you very much,I solved the problem by the grapes addcomponents api
thank you very much,I solved the problem by the grapes addcomponents api
So, what did you exatcly fix? I can't add any blocks to the canvas.
Here's what I see in the console.
thank you very much,I solved the problem by the grapes addcomponents api
So, what did you exatcly fix? I can't add any blocks to the canvas. I write a demo,you can Reference code https://github.com/yongma16/grapes-mjml-react/blob/master/src/views/EmailPage.tsx
I have the same issue with Lit Element. This problem can be related because React and Lit are using web-components.
Brother, does the MJML plug-in have an api for converting html to mjml?
thank you very much,I solved the problem by the grapes addcomponents api
So, what did you exatcly fix? I can't add any blocks to the canvas. I write a demo,you can Reference code https://github.com/yongma16/grapes-mjml-react/blob/master/src/views/EmailPage.tsx
I have solved a problem. Thanks!
I have the same issue with Lit Element. This problem can be related because React and Lit are using web-components.
Brother, does the MJML plug-in have an api for converting html to mjml?
No, I store the original mjml code separately in the database. I only request the parsed HTML to be sent in an email. Accordingly, I request the mjml code in the grapesjs editor.
Closing as it seems to be solved.
compared to mjml demo,I find a question,react actual render html content lack `
it is render in react page,i think it may cause the component cant not draggle:
wraning info:
{ "errors": [ "Target collection not found", "Component not draggable, acceptable by [[data-gjs-type=\"mj-body\"], [data-gjs-type=\"mj-wrapper\"]]" ], "model": { "tagName": "mj-section", "type": "mj-section" }, "context": "sorter", "level": "warning" }