Ease the transition to Media: save image uploads in CKEditor 5 as media entities when media is enabled?

Created on 4 February 2021, almost 4 years ago
Updated 13 March 2024, 9 months ago

Problem/Motivation

If all new image uploads in CKEditor 5 actually resulted in image Media entities being created, they'd all show up in the media library. That'd be one way to make the transition from "plain files" to "media" easier; it'd at minimum already list every image uploaded through CKEditor 5 in the Media Library.

The current MR does this:

Remaining tasks

  1. Discuss.
  2. Review.
  3. Tests.
📌 Task
Status

Needs work

Version

11.0 🔥

Component
CKEditor 5 

Last updated about 18 hours ago

Created by

🇺🇸United States zrpnr UTC-7

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs product manager review

    It is used to alert the product manager core committer(s) that an issue represents a significant new feature, UI change, or change to the "user experience" of Drupal, and their signoff is needed. If an issue significantly affects the usability of Drupal, use Needs usability review instead (see the governance policy draft for more information).

  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

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.

  • 🇺🇸United States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.

    Can the MR be updated for 10.1 please
    Also was tagged for tests

    What is the proposed solution exactly? Pretend I know nothing of media.

  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    I think #17 was well-intentioned but a wrong turn in hindsight. The issue summary very clearly explains what the problem is, and even includes a GIF.

    The MR is still totally viable. It needs refinement (and tests) for sure, but this alone would single-handedly make Drupal's Media Library much more valuable 😅

Production build 0.71.5 2024