From 41c21f501d7ccb6b782a44258a2162345b14b0e4 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 14 Oct 2021 15:45:33 +0100 Subject: [PATCH] Added `text` as an allowed setting type refs https://github.com/TryGhost/Team/issues/1107 - updated schema validation to allow `'color'` through as a known setting type now that Admin has support --- core/server/data/schema/schema.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/server/data/schema/schema.js b/core/server/data/schema/schema.js index 558cbac7fe..f66a752b51 100644 --- a/core/server/data/schema/schema.js +++ b/core/server/data/schema/schema.js @@ -680,7 +680,8 @@ module.exports = { isIn: [[ 'select', 'boolean', - 'color' + 'color', + 'text' ]] } },