GrapesJS / GrapesJS/mjml

<mj-social-element> puts text inside <img> element

Open
#267 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
716
Forks
251
PR merge metrics
No merged PRs in 30d

Description

When I compare the behavior between https://mjml.io and their "Try it Live" editor and grapejs-mjml, they treat the tag diffferently.

mjml.io renders the `` tag with the icon next to text using two table cells, one for the image, and one for the text sort of like this (this is super simplified):
```






text

```

When grapesjs-mjml renders the `` it renders it like this:
```



text

```

I don't think this is intentional, since putting text inside of an image tag is pretty unusual.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.