The contextual menu when you right click on an entity embed reads "Edit Entity" and uses the generic icon. It would be more appropriate if this can be specific to the embed button.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | entity-embed-contextual-link-improvement-2993323-8.patch | 1.5 KB | oknate |
Comments
Comment #2
oknateThis patch creates a separate contextual menu item for each embed, so that the label, instead of being "Edit Entity" is the label of the embed "Edit Gallery" for example.
Comment #3
oknateComment #4
oknateComment #5
oknateComment #6
oknateI was able to fix one of the failing tests here: https://www.drupal.org/project/entity_embed/issues/2993391
Comment #7
wim leersThis seems like a nice UX improvement 👍
Nice!
This can be moved out of the loop.
But this is not correct use of the translation system — this will only work in certain languages :)
Comment #8
oknateThanks for the feedback. I have updated the patch based on it.
Comment #9
oknateComment #10
wim leersManually tested, works great!
Thanks, @oknate! 👌
Comment #12
wim leers