Skip to content

Commit

Permalink
[ADD] Warning on mj-social name attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Brazeilles authored and iRyusa committed Jan 29, 2024
1 parent dce762f commit 8fa806e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/mjml-social/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<img src="https://cloud.githubusercontent.com/assets/6558790/12751360/0c78ce48-c9bd-11e5-98ca-4a2ac9e6341b.png" alt="desktop" style="width: 250px;"/>
</p>

<aside class="warning">
`mj-social-element`'s `name` attribute is a shortcut for some common social elements. <br />
You should avoid rely too much on this as those icons are hosted by Mailjet for their Email Builder.<br />
Use <a href="#custom-social-element">custom element syntax instead.</a>
</aside>

Displays calls-to-action for various social networks with their associated logo. You can add social networks with the `mj-social-element` tag.

```xml
Expand Down

0 comments on commit 8fa806e

Please sign in to comment.