- Issue created by @Rajab Natshah
- Issue was unassigned.
- Status changed to Needs review
8 months ago 10:33am 1 May 2024
Facing issues of not able to load the Media Embed library when working with multilingual sites.
1. When the language dedication is using the url like /fr
2. When the site is in a sub folder of a domain.
As they did this in Drupal core
✨
Introduce a token to get site's base URL
Fixed
Switch from base_path
to origin_url
$origin_url = \Drupal::request()->getSchemeAndHttpHost() . \Drupal::request()->getBaseUrl();
return $origin_url . '/libraries/' . self::$ckeditorName . '/plugins/';
Needs review
2.0
Code