- ๐ฉ๐ชGermany jurgenhaas Gottmadingen
I've rebased MR !5758 since the
ckeditor5_theme()
got removed from Drupal 11.x but is required for the inline insertion here. - ๐ซ๐ทFrance johnatas
Hey!
I'm working on a project with Drupal version 10.3.6 and using CKE5. I'm experiencing the same issue when inserting a Drupal media with a link.
In my case, disabling the "autop" filter isn't an option, as this filter is essential for my site.
So, I decided to work on a custom patch to resolve the issues I was facing.
Since it seems to be working, I'm sharing it with you.The attached patch has completely resolved all my problems. Note that it works perfectly when the filter order is set so that "autop" comes after "media embed".
So far, I've seen no side effectsโno empty
tags or unwanted line breaks.
If you notice any side effects with this approach, please let me know.