Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Anchor tag outside other HTML tags can not be used in the Web Forms Content Block widget

« Go Back

Information

 
Article Number000098337
EnvironmentProduct: Sitefinity
Version: 8.x, 9.x, 10.x,11.x, 12.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description
When saving content that has an anchor tag outside another HTML tag in the Web Forms content block, the code is converted by moving the anchor tag inside the child tag.
 
Steps to Reproduce
Clarifying Information
For example: 
<a href="#">
<h1>test</h1>
<p>test</p>
</a>

converts to
 
<h1><a href="#">test</a></h1>
<p><a href="#">test</a></p>
Error Message
Defect/Enhancement Number
Cause
This is the default behaviour of the RadEditor. Check the Notes section for a reference to a demo RadEditor.
Resolution
Use the MVC Content Block widget.
Workaround
Notes
References to Other Documentation:
RadEditor - Telerik ASP.NET Editor, https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
Attachment 
Last Modified Date9/10/2019 1:45 PM