Make WordPress Core

Changeset 61570


Ignore:
Timestamp:
02/01/2026 10:49:55 AM (2 weeks ago)
Author:
audrasjb
Message:

Editor: Add textColumn block support to appearance tools opt-ins.

This changeset adds textColumn block support to appearance tools opt-ins.
Backports Gutenberg PR 74656: https://github.com/WordPress/gutenberg/pull/74656/

Props scruffian, wildworks.
Fixes #64530

Location:
trunk
Files:
2 edited

Legend:

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

    r61564 r61570  
    745745        array( 'spacing', 'padding' ),
    746746        array( 'typography', 'lineHeight' ),
     747        array( 'typography', 'textColumns' ),
    747748    );
    748749
  • trunk/tests/phpunit/tests/theme/wpThemeJson.php

    r61564 r61570  
    292292            ),
    293293            'typography' => array(
    294                 'lineHeight' => true,
     294                'lineHeight'  => true,
     295                'textColumns' => true,
    295296            ),
    296297            'blocks'     => array(
    297298                'core/paragraph' => array(
    298299                    'typography' => array(
    299                         'lineHeight' => false,
    300                     ),
     300                        'lineHeight'  => false,
     301                        'textColumns' => true,                  ),
    301302                ),
    302303                'core/group'     => array(
Note: See TracChangeset for help on using the changeset viewer.