Open fjuriolli opened 1 year ago
I am using react-draft-wysiwyg and it automatically adds <p> tags when you either start typing or click on the textbox. Is there a way to remove these tags?
<p>
const [description, setDescription] = useState<EditorState>( EditorState.createEmpty() ); <Editor editorState={description} onEditorStateChange={setDescription} editorClassName='editor' toolbarClassName='toolbar' />
I am using react-draft-wysiwyg and it automatically adds
<p>
tags when you either start typing or click on the textbox. Is there a way to remove these tags?