Skip to content

Commit

Permalink
fix(schema): allow superscript/subscript RT marks (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al authored Dec 22, 2022
1 parent b11d779 commit 65e1711
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const nodes = validation(

const enabledMarks = validation(
'enabledMarks',
Joi.array().items(Joi.string().valid('bold', 'italic', 'code', 'underline'))
Joi.array().items(Joi.string().valid('bold', 'italic', 'code', 'underline', 'superscript', 'subscript'))
)

const enabledNodeTypes = validation(
Expand Down

0 comments on commit 65e1711

Please sign in to comment.