I can reproduce the issue with Drupal 10.4.3 and CKEditor 5.
My media.html.twig template is correct.
No matter the order of my filters, the issue persists (even if I remove all filters except the embed media filter and the one for image alignment).
Only #12 💬 CKEditor 5 Media Embed alignment options does not work Closed: cannot reproduce @kenchilada's solution resolves my problem (I even had to extend it to other alignments).
Hi,
I’ve tested the code from the Merge Request as a patch on version 5.1.0, and it works like a charm on Drupal 11.0.6 and 11.0.7.
Thanks for the work!
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.
Note that the use of DeprecationHelper::backwardsCompatibleCall
is no longer necessary if the minimum version defined is 10.1 ;)
Hello @joseph.olstad,
I confirm that the latest tagged release work with D11.
But its installation must be done with Lenient because the composer.json doesn't accept ^11 core.
Can we make this change in this issue?
I suggest aligning the composer.json with the .info file of 2.0.7.
I attached a patch with this modification.
johnatas → created an issue.
Hi,
I see that an issue has been opened on the subject, I link it here : https://www.drupal.org/project/drupal/issues/3470230 🐛 No available releases found Active
Hi,
The problem is described in detail in a forum post.
I'll put the link here if it helps : https://www.drupal.org/forum/support/upgrading-drupal/2024-08-26/update-... →