Linked media disappears when dragging within CKEditor 5

Created on 25 June 2024, 2 months ago
Updated 17 July 2024, about 2 months ago

Problem/Motivation

Media embedded within CKEditor 5 that has been linked cannot be moved within the editor by dragging. Copy and paste works fine.

Steps to reproduce

I've tested this on MacOS, Linux (Ubuntu), and Windows. The bug can be reproduced in Linux Chrome/Chromium, and Windows Chrome and Edge.

  1. Install Drupal with the standard profile.
  2. Enable Media and Media Library.
  3. Configure a text format to allow embedding media.
  4. Create content with an embedded image and link the image.
  5. Attempt to drag the media. For instance, move a linked media item from above a paragraph to below a paragraph.

The media item disappears and is replaced with an empty paragraph.

Proposed resolution

TBD.

Remaining tasks

TBD.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

TBD.

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
CKEditor 5 

Last updated 2 days ago

Created by

🇺🇸United States joshuami Portland, OR

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

Comments & Activities

Production build 0.71.5 2024