Try our conversational search powered by Generative AI!

Extending EPiServer (TinyMce and EPiServer.Url) to support "rel" attribute

Vote:
 

Hi,

My client wants to extend TinyMce "epi-link" and "EPiServer.Url" property with the ability to set "rel" attibute on both (read all links).

Their reference on why: https://www.ranktrail.se/blogg/google-infor-nya-nofollow-lankattribut/ ( in Swedish ).

But basicly add support for

rel="nofollow"
rel="sponsored"
rel="ugc" (user generated content)

This affects "Ranking credit" for links in Google Search for example.

Any idea how to do this?

#229451
Oct 15, 2020 6:29
Vote:
 

Have a look at this:

https://mariajemaria.net/extending-episerver-link-tinymce-support-anchors-page

And this:

https://www.andersjacobsen.net/blog/tinymce-tellinkplugin/

If you want the rel-attribute on say, only external links, you could add that when the page is rendered. If the editor should be able to make a choice, that will of course not work.

#229453
Edited, Oct 15, 2020 7:24
Carl S - Oct 15, 2020 9:04
I guessed as much as I had to develop a plugin for TinyMce.

But what about EPiServer.Url property?
Vote:
 

Ok with Tomas help I fixed a plugin for TinyMce.

Now I need a fix for "EPiServer.Url" class.

Any ideas?

#229461
Oct 15, 2020 9:37
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.