Skip to content

Commit

Permalink
Fix margin and padding in block.json
Browse files Browse the repository at this point in the history
Merged enums in margin and padding since they can be used together according to WordPress/gutenberg#31774
  • Loading branch information
ajlende authored Oct 25, 2021
1 parent 9aa421b commit c9914c7
Showing 1 changed file with 4 additions and 36 deletions.
40 changes: 4 additions & 36 deletions src/schemas/json/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,24 +289,8 @@
"top",
"right",
"left",
"bottom"
]
}
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"vertical"
]
}
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"bottom",
"vertical",
"horizontal"
]
}
Expand All @@ -326,24 +310,8 @@
"top",
"right",
"left",
"bottom"
]
}
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"vertical"
]
}
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"bottom",
"vertical",
"horizontal"
]
}
Expand Down

0 comments on commit c9914c7

Please sign in to comment.