- Issue created by @Nelo_Drup
- π¬π§United Kingdom marcelovani London
Hi @nelo_drup
Thanks for reporting.
In order for me to debug this I need some information.
1 - Can you please provide detailed steps to reproduce?
2 - Are you using other modules that could be conflicting and causing this error?
3 - Can you try it on a fresh Drupal installation? - πΊπΈUnited States slattery
Hi ,marcelovani
I get that error as well, Drupal 10.4 and PIEF 1.1.0-beta4. Not a fresh install. But grepping I can't find any other instance of this attribute key in modules or core. In the design, where would this attribute be populated? The closest attribute key in entity_embed would be the ''data-entity-uuid" key which is present in the 1.x and 2.x branches. But I'm not sure that would do what was intended, so I can't say a simple key replacement there would help to trigger the refresh intended in the alter hook function.
the key is presumed to be populated in the .module file here:
function paragraphs_inline_entity_form_entity_embed_values_alter(array &$values, ContentEntityInterface $entity): void { // Add dummy value to trigger a refresh of the embedded content preview. $values['attributes']['alt'] = $values['attributes']['data-editor-embed-uuid']; }
Thank you!