Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulletproof list #2520

Open
V1co opened this issue Aug 12, 2022 · 5 comments
Open

Bulletproof list #2520

V1co opened this issue Aug 12, 2022 · 5 comments

Comments

@V1co
Copy link

V1co commented Aug 12, 2022

Hello.

I am using MJMl for work and I find difficult to create list which will be consistent across all mailboxes including Outlook which is usually causing issues. At the moment I need to fix bugs post build but as we all now post build is really bad practice. I've seen that there are dependencies like this one:
https://premail.dev/docs/components/mjml-bullet-list/

I was not using it but if it would be working well maybe it should be included in official mjml components or community components? Thank you

@iRyusa
Copy link
Member

iRyusa commented Oct 31, 2022

In previous release we've deprecated and removed bullet-list as most of the time you can "avoid" using them.
Only issue I have is it's a bit heavy to write :

<mj-text> something... bla bla html</mj-text>
<mj-list><mj-li>...</mj-li><mj-li>...</li></mj-list>
<mj-text> something... bla bla html</mj-text>

Plus the mj-list render a table + a new list for each bulletpoint I'm not sure this is the right approach here.

I know that https://lists.cm/ has code for that, and we maybe need to do something in mj-text to identify and replace the list but that's not an easy thing to do :D

@NickHatBoecker
Copy link

@iRyusa I cannot find mj-list in documentation. Is there a reason for this? Maybe not fully supported yet?

@iRyusa
Copy link
Member

iRyusa commented Dec 8, 2022

In previous release we've deprecated and removed bullet-list as most of the time you can "avoid" using them.

mj-list was in MJML3 and removed in MJML4.

@manvydas-tbol
Copy link

@iRyusa it was removed, but is there a guide what is the best practice to achieve same result?

@YousefED
Copy link

@iRyusa do you have any best practices for creating (ordered and unordered) lists in MJML? Do you think we can just use html ul, ol and li tags?

I saw this article; https://www.litmus.com/blog/the-ultimate-guide-to-bulleted-lists-in-html-email, but maybe it's outdated / inaccurate.

Any guidance would be super helpful for sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants