Usermin: Mail editor 'font size' formatting produces incorrect HTML mail

The HTML mail editor built into Usermin offers various formatting options such as changing the size or colour of text, adding lists and so on (see screenshot umin_mail_formatting.png). Of these, the 'font size' option seems to not work properly. While the other options lead to proper in-line CSS, shown correctly in HTML-capable mail viewers, the font size option leads to HTML akin to the following:

<span class="ql-size-large">This text was chosen to be large</span>

As the referenced classes are not defined in the e-mail body, the so-specified text formatting is not shown in HTML-capable mail viewers. One example of the full mail body of a test mail (+ some non-sensitive headers), is shown in umin_mail_result.png.

Note that this issue does not affect the preview in the mail editor, but only the HTML mail which is actually sent out. I have checked the resulting HTML mail in the interfaces of Roundcube, GMail and Usermin - in all of which it did not show up properly.

Used versions of software:

If further information is required feel free to let me know. I hope that the 'Usermin core' classification is correct, as it seemed to be the most correct option of those available to me.

Closed (fixed)


Ilia's picture
Submitted by Ilia on Fri, 01/24/2020 - 08:14


Thanks for reporting. Looks like a bug. I will fix it for upcoming theme 19.46.

Ilia's picture
Submitted by Ilia on Sat, 01/25/2020 - 05:56

Status: Active ยป Closed (fixed)