- 🇳🇱Netherlands casey
Snapshot of latest state of MR for safe usage with composer-patches on drupal/core:11.1.1
- 🇺🇸United States DamienMcKenna NH, USA
In my case we have content like this:
<p class="text-align-center"><drupal-media data-entity-type="media" data-entity-uuid="00517131-5632-4716-a835-3e30f3200517" data-view-mode="default"></drupal-media></p>
When that's rendered it turns into this:
<p class="text-align-center"> </p> <figure class="media--image media--default media--image--default image.jpg"> <img loading="lazy" src="/sites/default/files/styles/large/public/image.jpg?itok=w3VwAQsO" width="320" height="400" alt=" " class="image-style-large"> <figcaption class="field field--name-field-caption field--type-string-long field--label-hidden field__item"></figcaption> </figure>
This is migrated content, so I wonder if I need to modify the migrated content to avoid the problem?
- 🇷🇺Russia nortmas Crimea/Thailand
Can anyone please reroll the patch for the 10.4.1?
- 🇺🇸United States DamienMcKenna NH, USA
aurora-norris: FYI your comments weren't visible because your account wasn't approved and the automated security systems on the site don't let you post patches until your account is confirmed. I've confirmed your account and have published your two comments (though the second one is a dupe).
- 🇬🇧United Kingdom aurora-norris
Opened an updated MR for this project but that has conflicts against 11.1 so heres a patch for that too (now using an OOP hook in the test).
- 🇬🇧United Kingdom aurora-norris
Created a MR against 11.x but that won't apply properly to core 11.1.x so heres a patch that will work on that (tests are now using OOP hooks).
- @aurora-norris opened merge request.
- First commit to issue fork.