I need to be able to set a links rel="" attribute to nofollow if needed in the RTE. I found a post here on the forum suggesting to make a nofollow class and apply that to the link that needs the nofollow attribute. When applying the style my link should look like this:
In XSLT I'd simply just replace class with rel before outputting the HTML.
I'm a bit stuck though, when I'm applying my nofollow class to a link in the RTE, it wraps the <a> tag in a <span class="nofollow"> tag. Is it possible to place the nofollow-style on the link itself rather than wrapping it in a span element?
Hope my question makes sense, if not - please let me know :-)
RTE: add class to a link
Hi all,
I need to be able to set a links rel="" attribute to nofollow if needed in the RTE. I found a post here on the forum suggesting to make a nofollow class and apply that to the link that needs the nofollow attribute. When applying the style my link should look like this:
In XSLT I'd simply just replace class with rel before outputting the HTML.
I'm a bit stuck though, when I'm applying my nofollow class to a link in the RTE, it wraps the <a> tag in a <span class="nofollow"> tag. Is it possible to place the nofollow-style on the link itself rather than wrapping it in a span element?
Hope my question makes sense, if not - please let me know :-)
Thanks in advance!
/ Bo
bump!
Anyone? :)
Bump from me too...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.