Closed
Description
Preconditions (*)
- Magento 2.3.4, but this happens to other versions too
Steps to reproduce (*)
- In the admin, navigate to Marketing -> Email Templates
- Load a template and hit Preview Template
Expected result (*)
- Email looks as "true" as possible, without any interference of CSS unrelated to the actual email
Actual result (*)
- Admin CSS interferes with how the email looks
The issue is simply that admin CSS is loaded when previewing email templates, which could interfere with how the emails show up as. With the Luma emails this difference is not much, some minor typography changes. However, when designing email templates from scratch, this could have a big effect — making the Preview Template functionality useless.
See screenshot below. Essentially there are two pages, one is the outer page (preview), and one is the inner page/iframe (popup). The iframe exists supposedly to isolate CSS changes. However, that's rendered moot as admin CSS is also loaded inside the iframe.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 1 Passed. Automatic verification of issue format passedMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.Affects non-critical data or functionality and does not force users to employ a workaround.Has been reviewed and prioritized during Triage with Product Managers
Type
Projects
Status
Done