Skip to content

Commit

Permalink
Merge pull request #1405 from contentful/fix/strikethrough-example
Browse files Browse the repository at this point in the history
feat: strikethrough example [NONE]
  • Loading branch information
YvesRijckaert authored Oct 29, 2024
2 parents 5703def + 26372cb commit 6e3e9b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/22-create-rich-text-field-with-validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ module.exports = function (migration) {
}
},
{
enabledMarks: ['bold', 'italic', 'underline', 'code', 'superscript', 'subscript'],
message: 'Only bold, italic, underline, code, superscript, and subscript marks are allowed'
enabledMarks: ['bold', 'italic', 'underline', 'code', 'superscript', 'subscript', 'strikethrough'],
message: 'Only bold, italic, underline, code, superscript, subscript and strikethrough marks are allowed'
},
{
enabledNodeTypes: [
Expand Down

0 comments on commit 6e3e9b0

Please sign in to comment.