Plugin sets all paragraphs in a post to heading style when the first block is Hx
-
Using WP 6.0.1 if the first block is a heading, the rest of the paragraphs are shown as headings too only if Meow Lightbox is activated, it goes away when you deactivate it.
I had this happen on a post that was previously fine in older versions (so it’s a new bug), and it affected all 7 of them, and it’s the only time I’ve had a heading as the first block on my site. I am using Brave browser, latest version, but it also does it in Safari so it’s not a browser issue. I’m on Mac Big Sur – all these are updated latest versions.
I am using the Photograph theme, but just switched the Theme to Twenty Twenty Two and checked in Safari, it does the same thing so I think it’s a bug.
With all themes I have tried – the problem disappears if you add a empty para before the heading!
I thought it was a Gutenberg issue, almost submitted it there, but switching off all my plugins and re-enabling them one by one I found out it’s Meow Lightbox that’s doing it – even in the default theme (2022) without any mods so it’s not anything I added…
Running that code via Code Snippets fixes it though, but thought you needed to know this to fix it..(and I’ve set it back to the default so you can see what the problem is with that page – look at the other pages to see what it SHOULD look like with the ‘extra para’ fix)
Step-by-step reproduction instructions
Add blocks of text as paragraphs (I had a drop cap on my first paragraph, not sure if that’s part of it)
Add a heading as the first block
Preview/save – you’ll see the heading style is shown on all paragraphs.
Add a single empty paragraph above that.
Preview/save – you’ll see the problem disappears!Environment info:
Wordpress 6.01, Photograph Theme (also tried 2022 theme, same issue), Brave and Safari browsers, latest versions on Mac Big Sur.
The page I need help with: [log in to see the link]
- The topic ‘Plugin sets all paragraphs in a post to heading style when the first block is Hx’ is closed to new replies.