diff --git a/lib/block-supports/typography.php b/lib/block-supports/typography.php index f0b2ffdc8009f7..22fc7ddb208369 100644 --- a/lib/block-supports/typography.php +++ b/lib/block-supports/typography.php @@ -97,7 +97,7 @@ function gutenberg_apply_typography_support( $block_type, $block_attributes ) { $has_font_weight_support = $typography_supports['__experimentalFontWeight'] ?? false; $has_letter_spacing_support = $typography_supports['__experimentalLetterSpacing'] ?? false; $has_line_height_support = $typography_supports['lineHeight'] ?? false; - $has_text_align_support = $typography_supports['textAlign'] ?? false; + $has_text_align_support = $typography_supports['textAlign'] ?? false; $has_text_columns_support = $typography_supports['textColumns'] ?? false; $has_text_decoration_support = $typography_supports['__experimentalTextDecoration'] ?? false; $has_text_transform_support = $typography_supports['__experimentalTextTransform'] ?? false; diff --git a/lib/class-wp-theme-json-gutenberg.php b/lib/class-wp-theme-json-gutenberg.php index b86e50f1a59da1..e0b61c76b221ec 100644 --- a/lib/class-wp-theme-json-gutenberg.php +++ b/lib/class-wp-theme-json-gutenberg.php @@ -438,8 +438,8 @@ class WP_Theme_JSON_Gutenberg { 'fontStyle' => null, 'fontWeight' => null, 'letterSpacing' => null, - 'textAlign' => null, 'lineHeight' => null, + 'textAlign' => null, 'textColumns' => null, 'textDecoration' => null, 'textTransform' => null, @@ -538,7 +538,7 @@ class WP_Theme_JSON_Gutenberg { 'fontWeight' => null, 'letterSpacing' => null, 'lineHeight' => null, - 'textAlign' => null, + 'textAlign' => null, 'textColumns' => null, 'textDecoration' => null, 'textTransform' => null,