Previewing email templates in admin loads admin area CSS #27543
Labels
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.3.4
Indicates original Magento version for the Issue report.
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
Triage: Done
Has been reviewed and prioritized during Triage with Product Managers
Projects
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
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.
The text was updated successfully, but these errors were encountered: