Make WordPress Core


Ignore:
Timestamp:
09/19/2023 01:27:43 AM (2 years ago)
Author:
isabel_brison
Message:

Editor: add background image support.

Adds a new background block support with the ability to set a background image on blocks that opt into it.

Props andrewserong, mukesh27.
Fixes #59357.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/wpThemeJson.php

    r56548 r56614  
    263263        $actual   = $theme_json->get_settings();
    264264        $expected = array(
     265            'background' => array(
     266                'backgroundImage' => true,
     267            ),
    265268            'border'     => array(
    266269                'width'  => true,
     
    296299                ),
    297300                'core/group'     => array(
     301                    'background' => array(
     302                        'backgroundImage' => true,
     303                    ),
    298304                    'border'     => array(
    299305                        'width'  => true,
Note: See TracChangeset for help on using the changeset viewer.