Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleshike committed Dec 29, 2023
1 parent 7894226 commit 0673e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RichTextEditor/RichTextEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const RichTextEditor = ({
};

if (options.allowedTags && !options.allowedTags.includes('span')) {
options.allowedTags.push(['span']);
options.allowedTags.push('span');
}
}

Expand Down

0 comments on commit 0673e40

Please sign in to comment.