-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
<br> tags appearing in random Parapgraph blocks #11037
Comments
I'm experiencing this too after upgrading to WordPress 5.0-beta1-43823. |
Oh sorry this is a beta5 issue and slightly different. Probably better as a trac issue if you don't reproduce with the plugin. |
I tried testing this for the plugin with the following steps:
Result: no extra <br> appeared in the text.
I did a quick search for "<br>" at https://core.trac.wordpress.org/search?q=%3Cbr%3E and didn't spot anything already filed there for WP 5.0 beta. It may also help to note how the content was created or if the line breaks make any sense to you as to where they're falling. |
@designsimply The line breaks definitely don't make sense. You can see from my screenshots above, especially that first one, where the paragraph content no longer goes the full width of the line. These |
Updating the plugin to 4.1.1 solved the issue for me. |
@maddisondesigns Is this still an issue in Gutenberg 4.2? |
@iseulde When I view the page on the site, it's still displaying content with line breaks that were never there when the page was created. When I edit the page, the paragraph seems to displays fine. But when I switch to the Code Editor I can see the line breaks I haven't re-saved the page. If I Update/Re-save the page will that fix it? Let me know if you want me to do that. This is using 5.0-beta2-43852 |
@maddisondesigns is this a clean test site, or a multi-plugin staging/production site? Any plugin running |
@lkraav It's not a brand new test site. It's one that I've been using for a lot of my Gutenberg testing. It's just a plain 'ol WP install, not Multisite. The only plugins activated (at the moment) are ACF Pro and WooCommerce. The theme is my own (which is in the .org repo) and I'm not running |
Indeed, perhaps not in this particular case, sounds like a relatively clean situation. When major things shift around (as in, some of the filter priorities in 4.0), new code execution order creates issues that weren't there before - was looking to eliminate that from this equation. |
@designsimply please can you take a look and close this if resolved? |
Closing in favor of #5872, which I believe is the same underlying problem with the |
(For completeness) I re-tested using the following steps:
Result: at no time could I get the paragraphs to show up with extra line breaks, the post created with the classic editor did not have line breaks added to the ends of headings but the post created with Gutenberg did (regardless of updating to 5.0-beta5 so this issue is confirmed present in the plugin itself).
@maddisondesigns I noticed the comments on #5872 do mention that the problem happens for some people in both headings and paragraphs. If you're still seeing the problem happen with paragraphs, please let me know because I am curious and would like to be able to confirm that part of the problem in testing. Other than that, we can defer to #5872. |
Describe the bug
Since ugrading to 5.0 Beta 1, I'm now seeing multiple random paragraph blocks being littered with
<br>
tags.To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: