From 19956e242d2474d6349e494a60d299df27d42fb6 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Thu, 22 Apr 2021 13:48:27 +0800 Subject: [PATCH] Fix template lock attribute type by using an enum instead of a string type (#29916) --- packages/block-library/src/column/block.json | 2 +- packages/block-library/src/group/block.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/column/block.json b/packages/block-library/src/column/block.json index 5d29a9d8091786..92e76c6a5c1741 100644 --- a/packages/block-library/src/column/block.json +++ b/packages/block-library/src/column/block.json @@ -11,7 +11,7 @@ "type": "string" }, "templateLock": { - "type": "string" + "enum": [ "all", "insert", false ] } }, "supports": { diff --git a/packages/block-library/src/group/block.json b/packages/block-library/src/group/block.json index ad4cc62fc68a73..429f13fb03018c 100644 --- a/packages/block-library/src/group/block.json +++ b/packages/block-library/src/group/block.json @@ -8,7 +8,7 @@ "default": "div" }, "templateLock": { - "type": "string" + "enum": [ "all", "insert", false ] } }, "supports": {