Make the swiper toggle-able in CKEditor

Created on 16 September 2025, 26 days ago

Problem/Motivation

Not sure how hard this is to implement. But it would be nice if you have the content editor the power to toggle the lightbox on-off in the CKEditor. I can imagine there are use cases where editors don't want the lightbox to be present. So enabling the filter by default on all content might be problematic.

Steps to reproduce

N/A

Proposed resolution

Make an option somehow in CKEditor for enabling/disabling the photoswiper
Update the conditional logic to only apply the filter when the img element is marked to be a swiper.

Remaining tasks

MR

User interface changes

CKEditor change only.

API changes

N/A

Data model changes

N/A

Feature request
Status

Active

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