From b2d4d63fd154ad4af4e61a709dec24d32df8d679 Mon Sep 17 00:00:00 2001 From: Michal Czaplinski Date: Thu, 6 Jul 2023 19:33:17 +0100 Subject: [PATCH] Revert "Remove the (now unnecessary) behaviors schemas for the settings." This reverts commit 232dc4f89b9cb8cd307bc91fbf2de1e4ef251951. --- schemas/json/theme.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/schemas/json/theme.json b/schemas/json/theme.json index e8a5057d8dbc18..139e09d5c241cd 100644 --- a/schemas/json/theme.json +++ b/schemas/json/theme.json @@ -672,9 +672,27 @@ } } }, + "settingsPropertiesBehaviors": { + "type": "object", + "properties": { + "behaviors": { + "description": "Settings related to behaviors.", + "type": "object", + "properties": { + "lightbox": { + "description": "Allow users to enable/disable lightbox.", + "type": "boolean", + "default": false + } + }, + "additionalProperties": false + } + } + }, "settingsProperties": { "allOf": [ { "$ref": "#/definitions/settingsPropertiesAppearanceTools" }, + { "$ref": "#/definitions/settingsPropertiesBehaviors" }, { "$ref": "#/definitions/settingsPropertiesBorder" }, { "$ref": "#/definitions/settingsPropertiesColor" }, { "$ref": "#/definitions/settingsPropertiesDimensions" }, @@ -695,6 +713,7 @@ { "properties": { "appearanceTools": {}, + "behaviors": {}, "border": {}, "color": {}, "dimensions": {},