Mitigate class pollution from injected CSS

Created on 4 September 2024, 15 days ago
Updated 19 September 2024, about 7 hours ago

Overview

We load the file preview.css into the preview iFrame but it has generic class names in it that could lead to our styles affecting the page being edited or the styles from the page somehow interfering with our styles.

Proposed resolution

Make the class names more unique.
Add warning to the top of the file.

User interface changes

📌 Task
Status

Fixed

Component

Page builder

Created by

🇬🇧United Kingdom jessebaker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024