Show HN: Sendune – open-source HTML email designer
61–70 of 100 posts
Re: Show HN: Sendune – open-source HTML email designer
#62Looks awesome. Is there a way to load saved templates?
there's an export HTML functionality. you can use this to save templates once you embed this in your project.
Re: Show HN: Sendune – open-source HTML email designer
#63I do lot of email templating for B2B CRM use cases and decided to opt out for a bit different approach based on slatejs/platejs editor
https://github.com/ianstormtaylor/slate
https://github.com/udecode/plate
The internal representation of email template with variables in slatejs/platejs json format can look like:
{ "type": "h1", "children": [ { "text": " Blocks {{template_value}} {{$timenow}}}" } ], "id": "1" }
Can be easily stored in Postgres jsonb. Very easy to add Reacjs base widgets like mentioning, media, diagrams, etc inside of slatejs/platejs editor.
The drawback is that you can't design the exactly the same pixel perfect template.
The better abstraction is probably MJML - https://mjml.io/ ... and yet with slatejs/platejs json format you can copy&paste your editings across various assets in CRM, knowledge base, etc
Storing data in MJML is not a great choise for me
...
Was thinking about using something similar to /SendWithSES/Drag-and-Drop-Email-Designer as the last final step ... but couldn't settle it my brain and most end-users dont care anyway.
Any thoughts on data representations and "Postgres Editor > Email HTML > Send button" dataflow is greatly appreciated. Very few people have serious thoughts on the subject.
Re: Show HN: Sendune – open-source HTML email designer
#64Oh! I wasn’t expecting this. I’ll be here a couple of hours to answer any questions.
How did you reliably determine what works and what doesn’t in “untold combination of os/desktop/mobile clients“? Is there a description of that somewhere?
Re: Show HN: Sendune – open-source HTML email designer
#65This work looks very promising. "HTML for email" is indeed hard to design and hard to implement. Especially editing on mobile, tablet devices, or asian (two+ bytes japanese, chinese) languages input nightmare. I do lot of email templating for B2B CRM use cases and decided to opt out for a bit different approach based on slatejs/platejs editor https://docs.slatejs.org/ https://github.com/ianstormtaylor/slate https://g…
That would allow you to simplify your callbacks to
You can also set CSS classes as well if you need something outside the MJML spec for some reason (which would potentially cover some of your cross-platform concerns).
MJML also integrates well with other languages. For example, I use a Craft CMS integration to pull data in via Twig to build complete templates directly from my CMS; there’s also an integration with Eleventy.
Re: Show HN: Sendune – open-source HTML email designer
#66[flagged]
Re: Show HN: Sendune – open-source HTML email designer
#67No MJML feels like a mistake. I design emails and that is literally the most important feature to me.
Re: Show HN: Sendune – open-source HTML email designer
#68No MJML feels like a mistake. I design emails and that is literally the most important feature to me.
Re: Show HN: Sendune – open-source HTML email designer
#69[flagged]
This is not a good Show HN comment. There's nothing these people can do with this feedback, and it's litigating a tired internet trope. It's 2024, people overwhelmingly use HTML email, and this is not a thread intended to investigate whether that's a good thing or not.
If that is true, it is only true because email providers are making a choice on behalf of consumers, namely, the user writes plain-text emails (at, e.g., gmail.com) then the provider converts it to HTML.
Re: Show HN: Sendune – open-source HTML email designer
#70No MJML feels like a mistake. I design emails and that is literally the most important feature to me.
If it feels out of date, it’s because HTML email itself is out of date.