You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get an error "Block validation: Block validation failed for core/quote" and changing the alignment changes both the position and text alignment
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.8/5.7.2
Pre-checks
I have searched the existing issues.
I have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered:
grappler
changed the title
Quote Block text alignment conflicts with add position alignment suport
Quote Block text alignment conflicts with added position alignment support
Sep 1, 2021
Indeed, I'm not sure that the Quote block is the only one in this situation. This is unfortunately "historic". Meaning when these attributes were added, block supports didn't exist yet and they evolved organically after that. We could consider renaming the existing attribute which would require a deprecated version I think. We may have to check what other blocks do the same.
Description
I have added align support to the quote block. The code that I used can be found below.
This conflicts with the
align
attribute in the quote block which is used for text alignment with the block.I would have expected for the attribute to be named
textAlign
instead ofalign
.Step-by-step reproduction instructions
core/quote
" and changing the alignment changes both the position and text alignmentScreenshots, screen recording, code snippet
No response
Environment info
Pre-checks
The text was updated successfully, but these errors were encountered: