Hi Jacob,

It would be nice to have the standard Editor included to format the Email-Body-Field for the Submission Email like it is on the Configuration Setting Page.

A second idea for this Interface part:
It would be a useful change, if some Editors / Clients, with no HTML / Yamlform skills, could change the Text of the Email in the Configuration Page and just paste in the [yamlform-submission:values] token between, to manage the Text of the Email on their own. The included values could still be set by an administrator, like now, in the Handler Section.

But all of this is not that prior.

Comments

SoYeah created an issue. See original summary.

jrockowitz’s picture

@SoYeah I have thought about adding the HTML Editor to the email handler but I think some developers really want to only edit the HTML source code, including myself.

One possible approach is to create a "basic" email handler. The current email handler would become the advanced handler. The basic handler would just include 'To email', 'From email', 'From name', 'Subject', 'Message' and the message would always be sent as HTML and use the CKEditor.

One thing to keep in mind is that HTML emails should use very basic markup and we need to make sure that the CKEditor generates "Email client" friendly markup.

I am hoping the core or contrib will provide the ability to insert tokens into the HTML editor.

SoYeah’s picture

@jrockowitz
I understand your point. So leave it as is.

jrockowitz’s picture

Status: Active » Closed (works as designed)

I am closing this ticket. If someone wants to they can reopen this discussion or create a new related ticket.

jrockowitz’s picture

Status: Closed (works as designed) » Active
Parent issue: » #2822613: Use CKEditor (instead of CodeMirror) for all settings that can contain HTML markup

So I figured out that the CKEditor supports using BR tags instead of P tags. BR tags are a lot more reliable when sending HTML emails. So I am reopening this ticket and hopefully I can get the CKEditor to work when toggling between send HTML or plain text emails.

jrockowitz’s picture

Status: Active » Fixed

The email handler now support the CKEditor.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.