WYSIWYG form textarea component

Hi,

I’m currently doing a newsletter webform with enriched content (with a WYSIWYG editor). I would like to use n8n to add some specific conditions and automatically populate recipients emails based on these conditions. However, the WYSIWYG input doesn’t exists in the n8n form node and i haven’t found any known community module to add this feature. I think i could do it in a separate html page that will send the data to a n8n webhook trigger but is there an alternative to embed any WYSIWYG lib directly in the core n8n module?

Thanks in advance,

Regards.

Hey @codeyourweb, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@Olek, @hubschrauber - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

Hi @codeyourweb

No, and it’s a hard no rather than a “not yet” — the Form node’s Custom HTML element runs everything through a sanitizer that strips <script>, <style>, <input>, <form> and <button>. Since every WYSIWYG library needs a script tag and its own stylesheet, there’s no way to smuggle one in. Not worth spending time on.

Your instinct about a separate page is right. But you don’t need to host it anywhere — n8n can serve the page itself, which keeps it same-origin and means no CORS config, no extra infrastructure, and no separate deploy.

Your workflow will be like: two webhook triggers, one for the page, one for the submission.

Hi @codeyourweb
For newsletter content a Textarea field feeding the Markdown node gets you most of the way. The writer uses Markdown for headings, bold, links and lists, and a Markdown node set to Mode > Markdown to HTML turns that field into send-ready HTML before it reaches your email node.