Support for media in ckeditor5 / embedding in text editors set to display the comparison field formatter

Created on 10 September 2024, 3 months ago
Updated 14 September 2024, 3 months ago

Problem/Motivation

It would be nice to be able to use this in a formatted text.

Steps to reproduce

  1. Configure a media view mode to use the comparison field formatter.

  2. Add a text format, add the embed media button and enable the embed media filter.

  3. In the media filter options, enable view mode overriding and add the view mode created above to the options, or just set the comparison view mode as the default view mode for media embedding I guess. If you don't get the media configuration option to override view modes to display, drag the image button into the active toolbar and drag it back out. This may be a ckeditor5 bug.

  4. Add a long formatted text field somewhere.

  5. Fill in the field with images. Well, I can't actually select 2 images to upload from here, so there's no way for it to work right now. I didn't find a place where I could allow 2 images to be uploaded in this media element. You can however select the image compare view mode that we created.

Proposed resolution

Research and implement / correct functionality, depending on whether support for media / text editors was previously intended.

User interface changes

UI to upload 2 images somehow?

API changes

Someone would have to research this.

Data model changes

Someone would have to research this.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇷🇴Romania rares petru samartean

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

Comments & Activities

Production build 0.71.5 2024