From 030be658730564dcdc623a4fc9e4c9bff7ee14a6 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Wed, 22 Mar 2023 11:48:55 +0400 Subject: [PATCH] Group: Fix the 'double div' deprecation 'templateLock ' attribute (#49250) --- packages/block-library/src/group/deprecated.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/group/deprecated.js b/packages/block-library/src/group/deprecated.js index 68c01c7d3b16f..af52b14c7c5e6 100644 --- a/packages/block-library/src/group/deprecated.js +++ b/packages/block-library/src/group/deprecated.js @@ -136,7 +136,8 @@ const deprecated = [ default: 'div', }, templateLock: { - type: 'string', + type: [ 'string', 'boolean' ], + enum: [ 'all', 'insert', false ], }, }, supports: {