From 65c7c790c74fe7648660333aa979cbf4b49458cd Mon Sep 17 00:00:00 2001 From: Phoebe Schmidt Date: Fri, 30 Nov 2018 11:14:47 +0100 Subject: [PATCH] fix(validations): add entry-hyperlink node validation for rich text --- .../offline-api/validator/schema/field-validations-schema.ts | 3 ++- 1 file changed, 2 insertions(+), 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 f90a236a4..0899a7a27 100644 --- a/src/lib/offline-api/validator/schema/field-validations-schema.ts +++ b/src/lib/offline-api/validator/schema/field-validations-schema.ts @@ -33,7 +33,8 @@ const assetFileSize = validation('assetFileSize', range('number')) const nodes = validation('nodes', Joi.object({ 'embedded-entry-block': Joi.array(), - 'embedded-entry-inline': Joi.array() + 'embedded-entry-inline': Joi.array(), + 'entry-hyperlink': Joi.array() })) const enabledMarks = validation('enabledMarks', Joi.array().items(Joi.string().valid('bold', 'italic', 'code', 'underline')))