Moving "Convert line breaks into HTML" filter to bottom solves the issue for me (Drupal 10.2.5), but it produces additionnal
<p>
tags including<a>
before and after the media... Tried #68 ๐ Adding links around embedded media through CKEditor might lead to invalid/complex markup when rendered Active but it fails to apply.<p> <a href="https://www.google.fr" target="_blank"></a> </p> <a href="https://www.google.fr" target="_blank"> <figure class="media media-image media--view-mode--default"> <img loading="lazy" src="..." width="480" height="157" alt="ftyj"> <p></p> </figure> </a> <p> <a href="https://www.google.fr" target="_blank"></a> </p>
I don't have much knowledge of FilterAutoP's purpose but I get really weird result if I call it with the following html :
<body> <a href="https://www.google.fr" target="_blank"> <figure class="media media-image media--view-mode--default"> <img loading="lazy" src="..." width="480" height="157" alt=""> </figure> </a> </body>
Automatically closed - issue fixed for 2 weeks with no activity.