From 0673e406aa1d09f618eaeeef4ab58535b06a194c Mon Sep 17 00:00:00 2001 From: Kyle Shike Date: Thu, 28 Dec 2023 20:08:49 -0500 Subject: [PATCH] fix --- src/RichTextEditor/RichTextEditor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RichTextEditor/RichTextEditor.jsx b/src/RichTextEditor/RichTextEditor.jsx index 55730901..9b3a2844 100644 --- a/src/RichTextEditor/RichTextEditor.jsx +++ b/src/RichTextEditor/RichTextEditor.jsx @@ -144,7 +144,7 @@ const RichTextEditor = ({ }; if (options.allowedTags && !options.allowedTags.includes('span')) { - options.allowedTags.push(['span']); + options.allowedTags.push('span'); } }