Skip to content

Commit

Permalink
fix(validations): add entry-hyperlink node validation for rich text
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoebe Schmidt authored and Khaledgarbaya committed Nov 30, 2018
1 parent 3b9efdf commit 65c7c79
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')))
Expand Down

0 comments on commit 65c7c79

Please sign in to comment.