Skip to content

Commit

Permalink
Fix template lock attribute type by using an enum instead of a string…
Browse files Browse the repository at this point in the history
… type (#29916)
  • Loading branch information
talldan authored Apr 22, 2021
1 parent 3981258 commit 19956e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/column/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "string"
},
"templateLock": {
"type": "string"
"enum": [ "all", "insert", false ]
}
},
"supports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/group/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"default": "div"
},
"templateLock": {
"type": "string"
"enum": [ "all", "insert", false ]
}
},
"supports": {
Expand Down

0 comments on commit 19956e2

Please sign in to comment.