London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

rel='nofollow' on TinyMCE link editor

Vote:
 

As a content editor, I want to be able to set a link to "nofollow", so that Google does not follow the link and try to index it. Using TinyMCE 4.8.5 version, Episerver CMS. Currently using custom "epi-link" plug-in for link editor. Is there any way to have an option for adding the attribute "rel = 'nofollow' " in links?

#210576
Edited, Nov 28, 2019 12:24
Vote:
 

Without having experience of doing this myself, I can see that the option is available when customising Tiny MCE - see here:

https://www.tiny.cloud/docs/configure/content-formatting/#attributes

So it looks possible you're able to customise the editor to inject the attribute you need for specific element types. 

Hope it helps somewhat. 

Paul 

#210579
Nov 28, 2019 13:20
Vote:
 

Yes, I am able to inject the rel attribute for 'link' plugin. But, for 'epi-link' plugin, I am not able to add. We are using 'epi-link' plugin for links.

#210591
Nov 28, 2019 16:50
* 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.