- Issue created by @Salvor_Hardin
- Assigned to sourabhsisodia_
- Issue was unassigned.
Module working fine for me , just don't manually type the link in the field instead copy the whole link from browser.
- 🇯🇴Jordan Qusai Taha Amman
I encounter the same issue when trying to embed a Twitter link in CKEditor.
- 🇪🇸Spain aleix
Hi, i face the same issue. It's on ckeditor plugins side, and the bad news is that it will not work by now neither with 10.4 nor with what's been doing in 11.x by now, as the maximum version ckeditor used is 42.0.0 by now . To be aware of which version is using drupal, there's this file that could be checked on each drupal version in https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/ckedi...
X.com and Reels embedding functionalities are merged in ckeditor 43.1.0 : https://github.com/ckeditor/ckeditor5/commits/v43.1.0/packages/ckeditor5...
Youtube shorts embedding functionalities are merged in ckeditor 43.2.0 : https://github.com/ckeditor/ckeditor5/blob/v43.2.0/packages/ckeditor5-me...So if you need these embedding features you'll need to cherry pick the commits and rebuild the package. There's some guidance of how can be done in
https://www.drupal.org/docs/core-modules-and-themes/core-modules/ckedito... →What I've done is:
git clone https://github.com/ckeditor/ckeditor5.git cd ckeditor5 #lookup for the version of ckeditor packed in your drupal (you could check in site report page or in /core/modules/ckeditor5/js/build/ckeditor5.types.jsdoc ); #for 10.3.x : 41.3.1 #for 10.4.x : 42.0.0 #checkout the tag matching the version. git checkout tags/v41.3.1 # lookup for commit hashes (that's pickable) https://github.com/ckeditor/ckeditor5/commits/v43.3.0/packages/ckeditor5-media-embed/src/mediaembedediting.ts # for x.com and reels: git cherry-pick 6cd9dc30089116f7481ce52b067245eb2e8678bf # for youtube shorts: git cherry-pick bba1f7f59ce887c08d107a11bf1124363a358de4 yarn install yarn dll:build
After building, replacing at least the
build
inweb/libraries/media-embed/
with the one just built inpackages/ckeditor5-media-embed
will enable the embedding of these providers.