Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I installed media_entity and media_entity_image and media_entity_browser
When using the embed button it is not asking for custom fields
any hints on how to enable custom fields while embed images with entity embed button?
Thanks
Comment | File | Size | Author |
---|---|---|---|
Bildschirmfoto 2017-05-26 um 18.53.01.png | 115.93 KB | stevenx | |
Bildschirmfoto 2017-05-26 um 18.53.19.png | 53.17 KB | stevenx |
Comments
Comment #2
marcoscanoI may have misunderstood your question, please let me know if this is the case.
The entity embed module on its own is intended to allow you to select an existing entity and embed it inside a wysiwyg area. When used in conjunction with entity_browser (or any variation of it, as media_entity_browser), you could potentially have a workflow where entities can be created on the fly just before being embedded. If you are looking for this second scenario and are not seeing the entity fields in the entity creation form, your browser may not be configured properly.
On the other hand, if what you are looking for is a way of selecting an existing entity and then modifying some of its fields right before embedding it, this is not something possible with these modules. Actually, bear in mind that what is embedded is not the rendered markup of the entity, but only some metadata pointing to it so drupal can re-render it as many times as necessary in the future. Which means that even if you could modify some of its fields (using some custom code or other contrib solutions), this modification would affect all other instances where this entity is being used, either embedded in wysiwygs or referenced in other ways.
Comment #3
marcoscanoBy the way, #2513086: [PP-2] Right click option to edit embedded entity: not reference a different entity, but *edit* the entity in a dialog may give you some patches to play around if that is something you are interested into.
Comment #4
stevenx CreditAttribution: stevenx as a volunteer commentedThanks, I applied the patch, it solves this issue. It's a different workflow than I like but it is ok.
Comment #5
stevenx CreditAttribution: stevenx as a volunteer commented