feat: Add improved html editor using CodeMirror

This commit is contained in:
Dries Augustyns
2025-12-09 10:15:33 +01:00
parent 433e796c04
commit 672f1e6657
6 changed files with 395 additions and 12 deletions
+1 -5
View File
@@ -197,11 +197,7 @@ export default function CreateCampaignPage() {
<Label htmlFor="body">
Email Body <span className="text-red-500">*</span>
</Label>
<EmailEditor
value={body}
onChange={setBody}
placeholder="<h1>Welcome!</h1><p>Your email content here...</p>"
/>
<EmailEditor value={body} onChange={setBody} />
</div>
</CardContent>
</Card>