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

BUG: wrong rendering for the builder #388

Open
3 tasks done
Idaryss opened this issue Oct 16, 2024 · 0 comments
Open
3 tasks done

BUG: wrong rendering for the builder #388

Idaryss opened this issue Oct 16, 2024 · 0 comments

Comments

@Idaryss
Copy link

Idaryss commented Oct 16, 2024

GrapesJS version

  • I confirm to use the latest version of GrapesJS

GrapesJS MJML version

  • I confirm to use the latest version of GrapesJS MJML

What browser are you using?

Chrome

Reproducible demo link

https://grapesjs.com/demo-mjml.html

Describe the bug

How to reproduce the bug?

  1. ... Import MJML:
<mjml>
  <mj-head>
    <mj-attributes>
      <mj-text css-class="global-text" padding="0px" color="blue"></mj-text>
      <mj-all font-family="Arial"></mj-all>
    </mj-attributes>
  </mj-head>
  <mj-body>
    <mj-section>
      <mj-column>
        <mj-text css-class="global-text">Hello World!</mj-text>
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>
  1. ...

Same thing using <mj-class>

What is the expected behavior?
Hello world should be blue as per the mjml.io demo website
...

What is the current behavior?
currently the text is not blue but black
...

If is necessary to execute some code in order to reproduce the bug, paste it here below:

// your code here

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant