SOLVED: Basic text element adds 2 extra paragraph

Bricks Version: 1.7-Beta
Browser: Chrome 90
OS: macOS / Windows / Linux / etc.
URL: https://

Here I provide a screencast about this issue.

I noticed that the basic text element adds 2 extra paragraph tags.
Example:
<p class="myclass"></p>
<p>My text here</p> <–my text has been moved to second tag.
<p></p> <–this is the last p tag.

Here is my case


I applied a global class for this text to make it lite text, but it didn’t work because my text is in the second p tag while the global class is in the first paragraph tag.

Looking forward to hearing from you.
Thank you!

Best regards,
Jornes

4 Likes

Yep, same problem on my site: Martej – Just another WordPress site

In the builder, I have “basic text” element with following settings:
image

But the code gets rendered as:
image

It doesn’t matter what tag I set, there is always < p > inside.

Thanks!

1 Like

Same annoying issue, it breaks my design.

See: DUPLICATE: 1.7 beta shoots layout to pieces - #3 by Adrien

1 Like

Same issue here, I came to report it. So i’m happy to see others are dealing with it haha so I know I’m not alone. The issue is only on the frontend.

1 Like

Yep, this is confirmed on my side as well.

1 Like

Another same issue here!!

1 Like

I am experiencing exactly the same!

This is exactly how a simple Basic text element with one line of text and the HTML tag p applied looks now:

<p id="brxe-5070f5" class="brxe-text-basic accent-heading text--action"></p>
<p>We Party Hard!</p>
<p></p>

In the builder it looks ok, the issue is on the frontend :confused:

If you change the HTML tag from paragraph to div, it solves the issue (at least, visually because the CSS remains on the div, and affects the p that’s inside):

<div id="brxe-5070f5" class="brxe-text-basic accent-heading text--action">
<p>We Party Hard!</p>
</div>

Everyone who uses the basic text in 1.7beta has <p> tag problems because it inserts tags even though it is not supposed to.

We’ll probably do another re-upload of 1.7 beta later today and let you know here when it’s done, so you can re-test.

2 Likes

Hey guys,
We’ve just re-uploaded Bricks 1.7 beta, including the fix for the basic text element (and some others).

Please re-download, test it again, and let us know if it works: Account – Bricks

3 Likes

Looks good on my end now. :+1:

1 Like

Thanks for the hotfix, @timmse
Now it works well for my site. :+1:

1 Like