Skip to content

Commit

Permalink
feat: strikethrough example
Browse files Browse the repository at this point in the history
  • Loading branch information
YvesRijckaert committed Oct 18, 2024
1 parent 584b879 commit 710f584
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 710f584

Please sign in to comment.