Editor: Add background image support (#3169)

This commit is contained in:
Ben Word
2023-12-19 10:31:29 -06:00
committed by GitHub
parent 3c07fae355
commit 5cd2c43847
2 changed files with 6 additions and 0 deletions

View File

@@ -47,6 +47,9 @@ export default async (app) => {
*/ */
app.wpjson app.wpjson
.setSettings({ .setSettings({
background: {
backgroundImage: true,
},
color: { color: {
custom: false, custom: false,
customDuotone: false, customDuotone: false,

View File

@@ -3,6 +3,9 @@
"$schema": "https://schemas.wp.org/trunk/theme.json", "$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2, "version": 2,
"settings": { "settings": {
"background": {
"backgroundImage": true
},
"color": { "color": {
"custom": false, "custom": false,
"customDuotone": false, "customDuotone": false,