Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: Changing Image URL while Draging on the Editor
Re: Changing Image URL while Draging on the Editor
03-30-2010, 10:54 PM
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Changing Image URL while Draging on the Editor
Reply
Quote
Hi
[email protected]
,
Try
<%@ Page Language=
"C#"
Debug=
"true"
%>
<%@ Register TagPrefix=
"CE"
Namespace=
"CuteEditor"
Assembly=
"CuteEditor"
%>
<html>
<head>
</head>
<body>
<form id=
"Form1"
runat=
"server"
>
<CE:Editor ID=
"editor1"
runat=
"server"
/>
<img src=
"Uploads/photo.thumbnail.jpg"
/>
</form>
</body>
</html>
<script>
function CuteEditor_FilterHTML(editor,code)
{
return
code.replace(
".thumbnail"
,
""
);
}
function CuteEditor_FilterCode(editor,code)
{
return
t=code.replace(
".thumbnail"
,
""
);
}
function CuteEditor_OnChange(editor)=function test()
{
editor.ExecCommand(
"TabCode"
);
editor.ExecCommand(
"TabEdit"
);
}
</script>
Regards,
Ken
View Complete Thread