Unexpected / Invalid block content since 6.1.1
-
Hi Folks,
My query relates to an error I’m seeing since a recent WP upgrade, so apologies if this is in the wrong forum – didn’t seem to fit anywhere else.
The issue concerns a recently introduced editor anomaly whereby the addition of a class to an LI tag in HTML mode causes that tag to be flagged as unexpected or invalid content.
I need to edit tags in this way because there is no other way for me to add CSS classes to individual list items, which in turn is necessary because if two competitors reach equal first place in our sport, there is no second place, and we jumped straight to third.
Until a recent update I was able to add classes in HTML mode without seeing the unexpected / invalid content error. The page still saves and displays OK, it’s just a little jarring to see an error being generated by something that’s always worked without a hitch.
The post linked below shows two examples of this approach.
Cheers,
Mark.The page I need help with: [log in to see the link]
- The topic ‘Unexpected / Invalid block content since 6.1.1’ is closed to new replies.