Rich Text Editor and linking emails

Francis Carroll asked on September 27, 2023 11:09

Hey,

I am running Kentico 13 with ASP .NET Core and IIS 10.

I am having an issue where users are trying to hyperlink emails using the default text editor. When they put the 'mailto:email@email.com' in the link field this is not appearing/working on the live site. Is the rich text editor html sanitisating removing it because of the colon. This was working previously and we have not hotfixed or made any changes to the site. Any ideas?

Correct Answer

Juraj Ondrus answered on September 27, 2023 14:29

What is the hotfix you are using and have you checked the bug-tracker yet? I am asking because in hotfix no.93 was fixed a bug:

WYSIWYG editor - HTML sanitizer removed 'mailto' links
The HTML sanitizer in the Rich text editor component for the page and form builder removed 'href' attributes containing 'mailto' links from < a > tags. The issue occurred after applying hotfix 13.0.89 or newer.

If you are using hotfix 89-92, then the issue might be caused by the bug. If you are using newer hotfix, please provide clear and detailed steps how to reproduce the issue. I just checked the 13.0.124 version using Dancing Goat and the out of the box rich text widget and everything seems to be working fine.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Francis Carroll answered on September 27, 2023 14:35

Hey Juraj,

That is really helpful i am running 13.0.90 for this site. So i will hotfix this and hopefully that will resolve it :)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.