paragraphs.unpublished.scss should not be attached globally

Created on 31 January 2025, 2 months ago

Problem/Motivation

paragraphs.unpublished.scss is attached whenever there is any paragraph is rendered in html.

Steps to reproduce

View any page that has paragraph, ".paragraph--unpublished" is placed in css output.

Proposed resolution

Attach the lib only if there is unpublished paragraphs.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024