-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] PullquoteAffects the Pullquote BlockAffects the Pullquote Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Description
The styles for the pullquote block do not explicitly define what happens with .has-text-align-center
. This is probably because the default style is text-align: center
.
This means that centering a pullquote does not work if the theme overrides the default style.
Even though it's redundant with the default, I believe core should provide the following style to increase the likelihood that centering pullquote text works:
.wp-block-pullquote.has-text-align-center blockquote {
text-align: center;
}
Step-by-step reproduction instructions
- Override default style for
textAlign
of the pullquote with CSS ortheme.json
. - Select the "Center" text align option
Screenshots, screen recording, code snippet
No response
Environment info
- WordPress 6.3
- No Gutenberg
- Custom Theme
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
Metadata
Metadata
Assignees
Labels
[Block] PullquoteAffects the Pullquote BlockAffects the Pullquote Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.