Allow existing classes to be present

Created on 16 September 2025, 26 days ago
Updated 30 September 2025, 12 days ago

Problem/Motivation

When adding a media item in ckeditor, the filter is not applied because the wrapper already contains a class.

Steps to reproduce

Create a ckeditor config where you can add images (direct upload) and media items.
Create a page with a ckeditor block/content with a direct upload image and a media image.
Observe the image only being photoswiped for the direct upload.

Proposed resolution

Update IF logic.

Remaining tasks

MR

User interface changes

N/A

API changes

N/A

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Default

Created by

🇧🇪Belgium BramDriesen Belgium 🇧🇪

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024