Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using node_embed via CKEDITOR, the node selection iframe's src (/ckeditor-node-embed) should keep the current language prefix for multilingual sites.
The problem is in the NodeEmbed plugin -> plugin.js file:
Drupal.settings.basePath + 'ckeditor-node-embed',
should contain the path prefix (e.g. en, he..).
Possible solution is changing the above to:
Drupal.settings.basePath + Drupal.settings.pathPrefix + 'ckeditor-node-embed',
Patch is attached.
Please review and commit to the dev branch.
Thanks :)
Comment | File | Size | Author |
---|---|---|---|
[ckeditor-node-embed-should-support-multilingual-sites].patch | 594 bytes | rreiss |
Comments
Comment #1
entuland CreditAttribution: entuland commentedThe proposed change works for me.