Problem/Motivation

This is spun off from #2994699-76: Create a CKEditor plugin to select and embed a media item from the Media Library and subsequent feedback, where @Aaron McHale asked:

is there a reason the user is limited to inserting only 1 item? The Media Library does technically support inserting as many items as it's configured to, I could totally see a scenario where someone is writing an article and wants to insert a several images, but currently they'd have to open the Media Library, upload or select an item, close the Media Library, and then repeat several more times. A more efficient workflow would be if there wasn't a limit of 1 item and so the user could both upload and select, then insert all the media they needed in essentially one operation.

Interesting idea. This issue is where we should look into the possibility of implementing this, and if we do decide to, let's work on that here.

Proposed resolution

TBD. But first, let's port the work from #2994699-77: Create a CKEditor plugin to select and embed a media item from the Media Library over here, so that we don't throw out the proof-of-concept code that @oknate wrote.

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Release notes snippet

TBD

Comments

phenaproxima created an issue. See original summary.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

daften’s picture

Status: Postponed » Active

I'm hoping we can mark this active again, since the other issue has been fixed.

aaronmchale’s picture

Title: [PP-1] Allow multiple selections from the media library in CKEditor » Allow multiple selections from the media library in CKEditor
phenaproxima’s picture