Make WordPress Core


Ignore:
Timestamp:
09/19/2022 08:12:02 PM (3 years ago)
Author:
audrasjb
Message:

Editor: Backport block supports (border, color, elements, spacing) from Gutenberg to WP 6.1.

This changeset backports border, color, elements and spacing block supports changes from Gutenberg to WP 6.1.

See tracking issue on Gutenberg repository: gutenberg#43440.

Props ramonopoly, glendaviesnz, bernhard-reiter, audrasjb, costdev.
See #56467.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/block-supports/colors.php

    r53680 r54211  
    6161
    6262        $actual   = wp_apply_colors_support( $block_type, $block_atts );
    63         $expected = array( 'class' => 'has-text-color has-fg-1-color has-background has-bg-2-background-color has-background has-gr-3-gradient-background' );
     63        $expected = array( 'class' => 'has-text-color has-fg-1-color has-background has-bg-2-background-color has-gr-3-gradient-background' );
    6464
    6565        $this->assertSame( $expected, $actual );
     
    144144        $expected = array(
    145145            'class' => 'has-text-color',
    146             'style' => 'color: #d92828;',
     146            'style' => 'color:#d92828;',
    147147        );
    148148
Note: See TracChangeset for help on using the changeset viewer.