I have tried the following code, it will not change your html code, please follow adam's advice, download latest version and try it:
<%@ Page Language="C#"%>
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<html>
<head>
<title>JavaScript API</title>
<link rel="stylesheet" href="../example.css" type="text/css" />
<script language="JavaScript" type="text/javascript" >
function PasteHTML(html)
{
html = "<a href='http://localhost/d.aspx' target='_blank'>http://www.google.com</a>"
// get the cute editor instance
var editor1 = document.getElementById('<%=Editor1.ClientID%>');
editor1.PasteHTML(html);
}
</script>
<body>
<form id="Form1" runat="server">
<table cellpadding="15">
<tr>
<td>
<h1>JavaScript API</h1>
This example shows you how to use CuteEditor JavaScript API to customize the application.
<br /><br />
<CE:Editor id="Editor1" Width="560" TemplateItemList="[Save,Bold,Italic,Underline,InsertChars,InsertEmotion]" ThemeType="OfficeXP" Height="250" EditorWysiwygModeCss="../example.css" runat="server"></CE:Editor><br />
<TEXTAREA cols=60 rows=5 id=myTextArea style="width:550px" NAME="myTextArea">Try click the "get HTML" button</TEXTAREA>
<br/><br/>
<p style="width:600">
<INPUT type=button value="insert HTML" onclick="PasteHTML('This is a test!')">
</P>
</td>
</table>
</form>
</body>
</html>
Regards,
Eric