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.
Hi,
I have a File type / Image with a field "caption" which can be set using wysiwyg/ckeditor.
When I create a link in the caption, it displays in the rendered node as :
http://www.mydomain.dev/"/node/10360/"
Does anyone knows how can I remove the extra /" added around the node ref ?
Thanks.
Comments
Comment #2
TwoDHow are you embedding the image links and adding the captions? Media module? Something else?
Wysiwyg module does not directly support anything but the basic functionality from the Link/Image plugins provided with the editor, and neither of them have captions.
If you're using a plugin provided by another module, it may be a configuration issue or perhaps some bug with how it generates the captions.
Comment #3
Seb.R CreditAttribution: Seb.R commentedYes, I'm using modules : Media and Media WYSIWYG.
The issue is appearing only when I set the caption on an image which is used inside a RTE text : meaning there's a RTE text (the caption) inside another RTE text (my page content).
If i display the image only, the link is displayed correctly.
Comment #4
Seb.R CreditAttribution: Seb.R commentedIt's fixed by this patch !
https://www.drupal.org/node/2833190
Comment #5
Seb.R CreditAttribution: Seb.R commented