• The plugin creates empty p-tags before and after gutenberg blocks.
    I created a block containing only the word “test” on a sample page. Without this plugin active it gives me this:
    <div class=”gridContainer”>
    ::before
    <p>test</p>
    ::after
    </div>

    But with Materialis companion active it gives me this:
    <div class=”gridContainer”>
    ::before
    <p></p>
    <p>test</p>
    <p></p>
    ::after
    </div>

    It screws up my entire design.
    I could do some CSS-hacks and set the margin to 0 on these blocks, or delete them using jQuery – but they shouldn’t be there in the first place.

    Seems to be loaded using “the_content()” in materialis\template-parts\content-page.php

    No, my site isn’t published yet. Yes, I could publish it if you’re not able to re-create the problem.

Viewing 1 replies (of 1 total)
  • I also see this problem. But in addition, I sometimes experience the reverse with disappearing margins, which I’ve posted in its own thread in case it’s a separate issue. But here’s a crossreference since they share spacing issues in common and both issues seem to disappear as soon as the Customizer is activated.

Viewing 1 replies (of 1 total)
  • The topic ‘Empty p-tags around gutenberg blocks’ is closed to new replies.