When I have this line:
<CE:Editor EditorWysiwygModeCss="/styles/main.css" id="Editor1" RemoveServerNamesFromUrl="true" UseRelativeLinks="true" runat="server"></CE:Editor>
set up, the editor still prepends the absolute path ahead of my relative link. I added the link by clicking on HTML and when I clicked on Preview and came back to HTML, the absolute path was shown.
Its strange, I have read a couple of earlier posts on this matter and tried every possible thing; but it still prepends the hostname path.
To confirm if the property is correctly set, I am printing the property value out as in this code:
void Page_Load(System.Object sender, System.EventArgs e)
{
Response.Write("link value = " + Editor1.UseRelativeLinks + "\n");
Editor1.AutoConfigure = AutoConfigure.Simple;
Editor1.UseRelativeLinks = true;
Response.Write("link value after setting = " + Editor1.UseRelativeLinks + "\n");
}
It prints True for both the statements.
Now my question is: Does the property work as its supposed to work.