From 6be9361c56efe8e3c8cb8b81a82628ddb0d2672f Mon Sep 17 00:00:00 2001 From: Yves Rijckaert Date: Tue, 25 Jun 2024 11:23:01 +0200 Subject: [PATCH] feat: allow strikethrough --- .../offline-api/validator/schema/field-validations-schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/offline-api/validator/schema/field-validations-schema.ts b/src/lib/offline-api/validator/schema/field-validations-schema.ts index 2f802763..00d5fe24 100644 --- a/src/lib/offline-api/validator/schema/field-validations-schema.ts +++ b/src/lib/offline-api/validator/schema/field-validations-schema.ts @@ -75,7 +75,7 @@ const nodes = validation( const enabledMarks = validation( 'enabledMarks', Joi.array().items( - Joi.string().valid('bold', 'italic', 'code', 'underline', 'superscript', 'subscript') + Joi.string().valid('bold', 'italic', 'code', 'underline', 'superscript', 'subscript', 'strikethrough') ) )