We are using the RadEditor 2009.1.623.20, and have been experiencing an interesting problem:
We have enabled the content filter 'IECleanAnchors', yet we can seem to stop the following behavior.
When a user creates a link such as:
<A class=crs_top title=Top tabIndex=0 href="#">Top</A>
The first time it is saved, it saves the way it should. The second time the content is loaded into the RadEditor, and the mode is switched from Design to HTML it adds the current page URL to the href of the anchor. This is highly undesirable as the content embeds the URL of the page the RadEditor is loading from and this is not where the content is going to be rendered (see below)!
<A class=crs_top title=Top tabIndex=0 href="http://localhost/Myapplication/RadEditorPage.aspx?Parameter1=something#"></A>
What can we do to ensure that when a '#' is entered as an href that it stays as just '#'?
Note: We saw the anchorpathtostrip method, but it would seem that the content filter should already be doing this. Am I wrong?
Thanks!
We have enabled the content filter 'IECleanAnchors', yet we can seem to stop the following behavior.
When a user creates a link such as:
<A class=crs_top title=Top tabIndex=0 href="#">Top</A>
The first time it is saved, it saves the way it should. The second time the content is loaded into the RadEditor, and the mode is switched from Design to HTML it adds the current page URL to the href of the anchor. This is highly undesirable as the content embeds the URL of the page the RadEditor is loading from and this is not where the content is going to be rendered (see below)!
<A class=crs_top title=Top tabIndex=0 href="http://localhost/Myapplication/RadEditorPage.aspx?Parameter1=something#"></A>
What can we do to ensure that when a '#' is entered as an href that it stays as just '#'?
Note: We saw the anchorpathtostrip method, but it would seem that the content filter should already be doing this. Am I wrong?
Thanks!
