diff --git a/src/components/NewTopic.jsx b/src/components/NewTopic.jsx index c1f7a44..8f99919 100644 --- a/src/components/NewTopic.jsx +++ b/src/components/NewTopic.jsx @@ -100,6 +100,7 @@ const NewTopic = () => { const start = textarea.selectionStart; const end = textarea.selectionEnd; + const value = formData.content || ""; const breakTag = '
';