Greetings, using the sample found here
http://www.telerik.com/community/forums/aspnet-ajax/editor/custom-dialogs-not-working.aspx
We have been able to add custom links to our HTML content.
The problem is, if our link has any other formatting (bold or italics is clicked) , the sample script will not pickup the link applied and will not return the already set href. It has something to do with the nested tags. For example, this works fine, we can read the href:
<A href="site.aspx">A Staffing Request Form</A>
But this does not, the editor inserts some nested formatting tags and we can cannot get the parent tag href any longer:
<A href="site.aspx"><FONT color=#0000ff><STRONG>A Staffing Request Form</STRONG></FONT></A>
We cannot ask our users to change the HTML, please advise on how to read the href here and change it, based on the sample we have downloaded (or something we have missed).
Thank you.
http://www.telerik.com/community/forums/aspnet-ajax/editor/custom-dialogs-not-working.aspx
We have been able to add custom links to our HTML content.
The problem is, if our link has any other formatting (bold or italics is clicked) , the sample script will not pickup the link applied and will not return the already set href. It has something to do with the nested tags. For example, this works fine, we can read the href:
<A href="site.aspx">A Staffing Request Form</A>
But this does not, the editor inserts some nested formatting tags and we can cannot get the parent tag href any longer:
<A href="site.aspx"><FONT color=#0000ff><STRONG>A Staffing Request Form</STRONG></FONT></A>
We cannot ask our users to change the HTML, please advise on how to read the href here and change it, based on the sample we have downloaded (or something we have missed).
Thank you.