From 710f5843c8587ba21cc9aa69bcc6c37198e01ecd Mon Sep 17 00:00:00 2001 From: Yves Rijckaert Date: Fri, 18 Oct 2024 14:23:47 +0200 Subject: [PATCH] feat: strikethrough example --- examples/22-create-rich-text-field-with-validation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/22-create-rich-text-field-with-validation.js b/examples/22-create-rich-text-field-with-validation.js index e5e3d0a7..ff8ea017 100644 --- a/examples/22-create-rich-text-field-with-validation.js +++ b/examples/22-create-rich-text-field-with-validation.js @@ -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: [