HTML E-mail Template editor output is ruined after selecting "Send text only" in Mozaik. #4894

Open
opened 2026-02-20 16:25:48 -05:00 by deekerman · 2 comments
Owner

Originally created by @timo-ecm2 on GitHub (Dec 6, 2022).

Issue

Create your own e-mail template via Mozaik and check the "Send text only" box.
If you have added different elements via the Mozaik editor, after ticking the box,
the first elements of the template will no longer have a CSS layout. See screenshot.

Schermafbeelding 2022-12-06 154335

Schermafbeelding 2022-12-06 154445

Expected Behavior

If you check the "Send text only" box, this option should not affect the layout of the model.

Actual Behavior

Somehow, after selecting the checkbox "Send text only" the CSS of the template was changed.

Possible Fix

I don't know.

Steps to Reproduce

  1. Modify or create an e-mail model using the Mozaik editor.
  2. Be sure to use Mozaik elements by adding a couple of different parts.
  3. Select the checkbox "Send Text Only".
  4. Click Save or deselect the "Send Text Only" box.
  5. See the output in the editor.
  6. The layout has been altered.

Context

Medium/High
The Mozaik editor is less useful if you are unable to use this checkbox.

Your Environment

SuiteCRM Version used: 7.12.8
Browser name and version: Google Chrome Versie 104.0.5112.81 (Officiële build) (64-bits)
Environment name and version: MariaDB 10.5, PHP 7.4
Operating System and version User: Windows 11 - 22H2 - 22621.674

Originally created by @timo-ecm2 on GitHub (Dec 6, 2022). #### Issue Create your own e-mail template via Mozaik and check the "Send text only" box. If you have added different elements via the Mozaik editor, after ticking the box, the first elements of the template will no longer have a CSS layout. See screenshot. ![Schermafbeelding 2022-12-06 154335](https://user-images.githubusercontent.com/51777898/205942624-829bb436-f06c-415a-bdd0-168cf45aeddc.png) ![Schermafbeelding 2022-12-06 154445](https://user-images.githubusercontent.com/51777898/205942980-9d44a90c-1c1a-44f6-bf56-3b0530b0d6a1.png) #### Expected Behavior If you check the "Send text only" box, this option should not affect the layout of the model. #### Actual Behavior Somehow, after selecting the checkbox "Send text only" the CSS of the template was changed. #### Possible Fix I don't know. #### Steps to Reproduce 1. Modify or create an e-mail model using the Mozaik editor. 2. Be sure to use Mozaik elements by adding a couple of different parts. 3. Select the checkbox "Send Text Only". 4. Click Save or deselect the "Send Text Only" box. 5. See the output in the editor. 6. The layout has been altered. #### Context Medium/High The Mozaik editor is less useful if you are unable to use this checkbox. #### Your Environment SuiteCRM Version used: 7.12.8 Browser name and version: Google Chrome Versie 104.0.5112.81 (Officiële build) (64-bits) Environment name and version: MariaDB 10.5, PHP 7.4 Operating System and version User: Windows 11 - 22H2 - 22621.674
Author
Owner

@pgorod commented on GitHub (Dec 7, 2022):

Why do you want to use that check-box? I'd like to understand your requirement first, and I often wonder about the use of email text-only options in 2022... everybody has HTML email.

And then, if you do need it, you understand that a text only email won't have any HTML or CSS, won't have tables, or any formatting at all. So I guess the editor is trying to show you how it looks in the text-only version.

@pgorod commented on GitHub (Dec 7, 2022): Why do you want to use that check-box? I'd like to understand your requirement first, and I often wonder about the use of email text-only options in 2022... everybody has HTML email. And then, if you do need it, you understand that a text only email won't have any HTML or CSS, won't have tables, or any formatting at all. So I guess the editor is trying to show you how it looks in the text-only version.
Author
Owner

@timo-ecm2 commented on GitHub (Dec 8, 2022):

Hi @pgorod
Some clients prefer to have this option available. Presumably the best option is to get rid of this feature in total. But I think it should not harm the template, which it does after you check the checkbox and do a save.

@timo-ecm2 commented on GitHub (Dec 8, 2022): Hi @pgorod Some clients prefer to have this option available. Presumably the best option is to get rid of this feature in total. But I think it should not harm the template, which it does after you check the checkbox and do a save.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#4894
No description provided.