feat: replace textarea with rich text editor for form descriptions and add metadata support with HTML rendering
This commit is contained in:
@@ -309,12 +309,11 @@ export default function FormEditorClient({ form, initialQuestions }: FormEditorC
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="form-description">Description</Label>
|
||||
<Textarea
|
||||
id="form-description"
|
||||
<RichTextEditor
|
||||
value={formDescription}
|
||||
onChange={(e) => handleFormDescriptionChange(e.target.value)}
|
||||
onChange={(html) => handleFormDescriptionChange(html)}
|
||||
placeholder="Provide a description..."
|
||||
className="min-h-20"
|
||||
className="min-h-20 w-full"
|
||||
/>
|
||||
</div>
|
||||
<div className="flex items-center space-x-2 pt-2">
|
||||
|
||||
Reference in New Issue
Block a user