Needs review
Project:
Entity Embed
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jul 2016 at 13:07 UTC
Updated:
17 Feb 2026 at 23:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mars0test commentedHere is a possible patch.
Comment #3
renrhafI've encountered the same issue. I'm able to select many entities (of type media) in my entity browser but when I save the selection, only one of them is considered. However the patch does not seem to work for me, as there are many steps where only one entity can be considered.
Comment #4
mars0test commentedHy !
Sorry but I think with the many change of Drupal core and Entity Embed module this patch can't work. it work find for 8.2 if I remember :/
Comment #6
wim leersInteresting! Either Entity Embed should instruct Entity Browser to restrict selection to a single entity or Entity Embed should effectively create one
<drupal-entity data-entity-uuid="…" …>tag for every selected entity.Comment #7
wim leersComment #8
wim leersComment #9
wim leersActually,
\Drupal\entity_embed\Form\EntityEmbedDialog::buildSelectStep()contains:Which #2767573: [Follow-up] Use Entity browser's form element introduced. Either it wasn't properly tested there, or
entity_browserbroke something.The Media Initiative doesn't depend on Entity Browser anymore (with Media Library in core), so untagging for that.
Comment #10
wim leersComment #11
e0ipsoI am using this patch in my client's site to solve this on CKEditor5, perhaps it's useful to anyone.
Comment #12
e0ipsoUpdating patch to allow editing the metadata.
Comment #13
jannakha commented@e0ipso can you provide a merge request out of your patch?
it will speed up testing and review process.
ta