Skip to content

Commit

Permalink
Block JSON schema: Update shadow definition (#58910)
Browse files Browse the repository at this point in the history
* Block JSON schema: Fix `shadow` definition

* Update schema

* Fix schema
  • Loading branch information
t-hamano authored Feb 12, 2024
1 parent 1e83dd7 commit 3495168
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion schemas/json/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,10 +556,12 @@
}
},
"shadow": {
"default": false,
"description": "Allow blocks to define a box shadow.",
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"description": "Defines whether a box shadow is enabled or not."
},
{
"type": "object"
Expand Down

0 comments on commit 3495168

Please sign in to comment.