Rich Text Editor component

I would like to create an interface to allow people to compile emails to send out to a membership list. The emails don’t need to be super complex, but it would need at least some kind of rich text editor component I think.

Has anyone done anything like this already in Anvil? There doesn’t seem to be a dedicated built-in component for rich text editing, but has anyone built any custom components / templates that would do this?

Rich Text is the exact name of the component:

Searching Anvil Docs is a good first step :slight_smile:

Also, here’s how to send emails:

Hi, thanks yeh I saw the docs about the Rich Text component, but unless I’m missing something (which I might be?) that is a component for displaying various Rich Text content - it’s not a component for actually editing it in browser?

Or is it and I’m missing something obvious?

What I’m after is essentially an in-form rich text editor component - a multi-line text box with formatting shortcuts that produces a rich text formatted output of some kind (which I could then take and pipe through to an email etc.)

You are in luck, there is a tutorial around just what you are after.
It is a primer on using JS but the example is utilizing Quill which is a rich text editor.

JS tutorial using Quill

1 Like

Ah that’s amazing - thank you