WYSIWYG - Links to Root

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 8, 2009   (RSS)

By rjbathgate - April 7, 2009

Hi,

Whenever I add links in the code of a WYSIWG (rich text, tinymce) field, it automatically sets the link to root;

i.e.
<a href="index.php">
becomes
<a href="/index.php">

It automatically changes them to root when the html / wysiwyg is saved.

Is there anyway to stop this happening and for it to stay as it was input into the HTML? I.e. i want to add document relative paths.

Cheers in advance
Rob

Re: [ross] WYSIWYG - Links to Root

By rjbathgate - April 8, 2009

Hi Ross,

Thanks for the reply.

Yeah, unfortunately linking path to full root isn't ideal - we usually work to relative paths (relative to document)...

I'll do some digging myself into that plugin - thanks for the heads up

Cheers
Rob