Updating from 14.9.1 to 15.4.0, unresolvable validation errors because of anchors / id attributes #49578
Labels
Backwards Compatibility
Issues or PRs that impact backwards compatability
[Feature] Block Validation/Deprecation
Handling block validation to determine accuracy and deprecation
[Type] Bug
An existing feature does not function as intended
Description
After updating from Gutenberg 14.9.1 to 15.4.0 I get a bunch of 'unresolvable' validation failed errors. Unfortunately the logs in the console were not helpful at all.
After some investigation I found out that the validation errors come from simple anchor tags.
In Gutenberg 14.9.1 when adding an anchor tag to a block this results in
Gutenberg 14.9.1
When I paste this code into an editor with Gutenberg v.15.4.0 this results in one of these
'unresolvable' validation failed errors (after a reload)
I found that that is simply because of the missing
"anchor": "test"
in the attributes.Gutenberg v.15.4.0
That is an annoying situation since that does not only removes the anchor tags but also
requires to redo all the editing again.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: