GithubHelp home page GithubHelp logo

Canvas View issues about mjml HOT 3 CLOSED

grapesjs avatar grapesjs commented on May 12, 2024
Canvas View issues

from mjml.

Comments (3)

artf avatar artf commented on May 12, 2024

Hi @masfi can you provide the template of your case or a live demo, because I can't reproduce it

from mjml.

masfi avatar masfi commented on May 12, 2024

Sure, I can provide the template code. I tested the mjml on the mjml live editor. It works fine there. I attempted it on the demo and worked fine but I thought the demo might not be up to date with this pull-request #23? I couldn't tell if I was grasping for straws since this is the most javascript heavy work I have done so far.

Btw, when I comment out the height line in mj-container, this issue doesn't occur anymore. However then there's the same issue of being unable to drop any components when the canvas is clear.

<mjml>
  <mj-body>
    <mj-container background-color="rgba(129,55,55,0.35)">
      <mj-section background-color="#E6F0FF">
        <mj-column>
        </mj-column>
      </mj-section>
      <mj-section>
        <mj-column>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
        </mj-column>
        <mj-column>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
        </mj-column>
      </mj-section>
      <mj-section>
        <mj-column>
          <mj-text>Enter text in this block 
          </mj-text>
        </mj-column>
        <mj-column>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
        </mj-column>
      </mj-section>
      <mj-section>
        <mj-column>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
          <mj-text>Enter text in this block 
          </mj-text>
        </mj-column>
      </mj-section>
      <mj-section>
        <mj-column>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
        </mj-column>
        <mj-column>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
          <mj-image src="http://placehold.it/350x250/78c5d6/fff">
          </mj-image>
        </mj-column>
      </mj-section>
      <mj-section>
        <mj-column>
          <mj-text>Start from here
          </mj-text>
        </mj-column>
      </mj-section>
      <mj-section background-color="#E6F0FF">
        <mj-column>
          <mj-text align="center">
            112233 aabbcc street, Anytown, GA, 30076
          </mj-text>
        </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

from mjml.

DRoet avatar DRoet commented on May 12, 2024

I can't reproduce this on the latest version, it is true the demo page is sometimes a few versions behind. feel free to reopen a new issue if this is still a problem

from mjml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.