Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

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



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: ( in Swedish ).

But basicly add support for

rel="ugc" (user generated content)

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

Any idea how to do this?

Oct 15, 2020 6:29

Have a look at this:

And this:

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.

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?

Ok with Tomas help I fixed a plugin for TinyMce.

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

Any ideas?

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.