Make WordPress Core


Ignore:
Timestamp:
06/04/2024 05:34:12 AM (2 years ago)
Author:
ellatrix
Message:

Editor: add textAlign block support.

See ​https://github.com/WordPress/gutenberg/pull/59531.
See ​https://github.com/WordPress/gutenberg/pull/61182.
See ​https://github.com/WordPress/gutenberg/pull/61717.
See ​https://github.com/WordPress/wordpress-develop/pull/6590.

Fixes #61256.

Props wildworks, ellatrix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json.php

    r58266 r58314  
    257257                'border-left-style'                 => array( 'border', 'left', 'style' ),
    258258                'color'                             => array( 'color', 'text' ),
     259                'text-align'                        => array( 'typography', 'textAlign' ),
    259260                'column-count'                      => array( 'typography', 'textColumns' ),
    260261                'font-family'                       => array( 'typography', 'fontFamily' ),
    … …  
    455456                        'letterSpacing'  => null,
    456457                        'lineHeight'     => null,
     458                        'textAlign'      => null,
    457459                        'textColumns'    => null,
    458460                        'textDecoration' => null,
    … …  
    559561                        'letterSpacing'  => null,
    560562                        'lineHeight'     => null,
     563                        'textAlign'      => null,
    561564                        'textColumns'    => null,
    562565                        'textDecoration' => null,
Note: See TracChangeset for help on using the changeset viewer.