Skip to content

Commit

Permalink
Fix margin and padding in block.json (#1903)
Browse files Browse the repository at this point in the history
* Fix margin and padding in block.json

Merged enums in margin and padding since they can be used together according to WordPress/gutenberg#31774

* Update block.json
  • Loading branch information
ajlende authored Oct 25, 2021
1 parent 9aa421b commit bb8a1e3
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions src/schemas/json/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,7 @@
"items": {
"type": "string",
"enum": [
"vertical"
]
}
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"vertical",
"horizontal"
]
}
Expand Down Expand Up @@ -335,15 +327,7 @@
"items": {
"type": "string",
"enum": [
"vertical"
]
}
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"vertical",
"horizontal"
]
}
Expand Down

0 comments on commit bb8a1e3

Please sign in to comment.