mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
HTML E-mail Template editor output is ruined after selecting "Send text only" in Mozaik. #4894
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#4894
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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
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
@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.
@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.