-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update from WP6.0 to 6.1 breaks some blocks #45153
Comments
I have listed the blocks where
|
I have confirmed that this problem is reproduced in table blocks with color and caption. It doesn't reproduce in tables with only captions. d85f204ad848b57df1f085a7c7e6e8c7.mp4 |
As for the |
FWIW, someone just filed a Core ticket that sounds a bit like this issue. Could y'all have a look and decide if it's a duplicate or if some other blocks might be affected after all? 🙌 |
Another report of this here: https://wordpress.org/support/topic/getting-alot-of-console-errors-on-fresh-wordpress-install/ It looks like validation warnings for |
@noisysocks those button ones look like there is new block content being loaded by an older version of Gutenberg, eg. the post content has the |
I think this is just the opposite case of what this issue is about. When patterns created in WP6.1 (i.e. with classes such as It is not limited to button blocks, as seen in the console error this video shows. At the same time, you will also see the spacing preset markup mismatch error. c7e332367f2751f32ce7c5d4da3f418d.mp4 |
The trouble with the invalid buttons I think is unrelated to this issue so I think we should deal with it separately over on this issue. |
Since the fixes for Embed, File, Gallery, Table, and Video have all been merged (and backported to 6.1), and the Buttons issue seems unrelated, I'll close this PR. Feel free to re-open -- or open a new PR -- if something is still broken! |
Can't update to the German version of 6.1
|
It seems not to be solved. Today I run all updates and now my galleries look like in your screenshots. Here is the view in the editor and the page. I added my site info as well. |
Also experiencing issues, should be re-opened |
Thanks for the report. If you access the following URL directly, the data appears to be downloaded correctly. If the problem you report is not resolved, WordPress Trac would be the appropriate place to report it. A similar problem was reported in #45423. |
Thanks, I will check. Meanwhile I downgraded to 6.0.3 and everything is running smoothly again :-) |
Description
I found that some blocks were broken when I updated from 6.0 to 6.1-RC2.
These blocks have a
figcaption
element or button-like element, and it appears that the block validation is failing. I have at least the following blocks broken by the update:The browser console error indicates that the newly added classes(
.wp-element-button
,.wp-element-caption
) don't match.I suspect it is a backward compatibility issue.
Step-by-step reproduction instructions
Example HTML
Screenshots, screen recording, code snippet
Screenshots in WordPress 6.0.3
Screenshots in WordPress 6.1-RC2
Browser console error sample
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: