CuteEditor for .NET | Unwanted Code

Last post 04-06-2008, 10:29 PM by tlw2008. 3 replies.
Sort Posts: Previous Next
  •  04-01-2008, 11:14 PM 38536

    CuteEditor for .NET | Unwanted Code

    Good afternoon.

    We are currently running DNN4 v4.07 with the CuteEditor for .NET v6.0 and have found it is writing
    a shocking amount of unwanted code.


    Example:

    <div>
    <table cellspacing="2" cellpadding="2" width="100%" border="0">
        <tbody>
            <tr valign="top" align="left">
                <td style="width: 348px; height: 232px"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana">
                <div align="left"><strong></strong></div>
                </span>
                <div align="left"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000">
                <div align="left"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"></font></span>
                <div style="font-size: 8pt" align="left"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana">
                <div align="left"><strong></strong></div>
                </span>
                <div align="left"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000">What's New on DotNetNuke:</font></span></span></span></span></font></span></span></span></font></span></span></span></span></font></span></span></span></span></font></span></span></span></font></span></font></span></span></span></span></font></span></span></span></font></span></font></span></span></span></span></font></span></font></span></span></span></span></font></span></div>
                <div align="left"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"></font></span></span></span></span></font></span></span></span></font></span></span></span></span></font></span></span></span></span></font></span></span></span></font></span></font></span></span></span></span></font></span></span></span></font></span></font></span></span></span></span></font></span></font></span></span></span></span></font></span>&nbsp;</div>
                <div align="left"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><span style="font-size: 8pt; font-family: Verdana"><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;</font></span></span></span></span></font></span></span></span></font></span></span></span></span></font></span></span></span></span></font></span></span></span></font></span></font></span></span></span></span></font></span></span></span></font></span></font></span></span></span></span></font></span></font></span></span></span></span></font></span></div>
                </span></span></div>
                </span></span></span></font></span></span></span></font></span></span></span></span></font></span></span></span></span></font></span></span></span></font></span></font></span></span></span></span></font></span></span></span></font></span></font></span></span></span></span></font></span></font></span></div>
                </span></span></span></font></span></font></span></div>
                </span></span></span></font></span></span></span></font></span></span></span></span></td>
                <div align="center"><a href="http://www.google.com.au/intl/en_au/images/logo.gif" target="_blank"><img alt="Click on the picture for a larger version" src="http://www.google.com.au/intl/en_au/images/logo.gif" align="absMiddle" border="0" ! /></a></div>
                <td style="width: 40%">
                <div style="font-size: 8pt" align="center"><br />
                Google Logo</div>
                <div style="font-size: 8pt" align="center">Example</div>
                </td>
            </tr>
        </tbody>
    </table>
    </div>
     

    Output:
     
     
    What's New on DotNetNuke:
     
        

    Click on the picture for a larger version
    Google Logo
    Example
     

     
    Creating the same thing using the builtin DNN4 Editor produces a very clean code.
    Any ideas on how we can resolve this from happening ?
  •  04-01-2008, 11:25 PM 38538 in reply to 38536

    Re: CuteEditor for .NET | Unwanted Code

    Here is an example of how it looks without using the CuteEditor for .NET


    Example:


     <table cellspacing="2" cellpadding="2" width="100%" border="0">
        <tr valign="top" align="left">
      <td "width=348px" height="232px">
      <font face="verdana" size="2pt">
                What's New on DotNetNuke:
      </font>
            </td>

      <td width="40%" align="center">
      <font face="verdana" size="2pt">
       <a href="http://www.google.com.au/intl/en_au/images/logo.gif" target="_blank">
       <img alt="Click on the picture for a larger version" src="http://www.google.com.au/intl/en_au/images/logo.gif" border="0" /></a><br />
             Google Logo<br />
       Example
      </font>
            </td>
        </tr>
    </table>
     

    Output:

    What's New on DotNetNuke: Click on the picture for a larger version
    Google Logo
    Example



    Any ideas or suggestions would be greatly appreciated!

    Thanks.
  •  04-02-2008, 10:31 AM 38570 in reply to 38538

    Re: CuteEditor for .NET | Unwanted Code

    Are you sure the above code is created by Cute Editor?
     
    Can you try the following example?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  04-06-2008, 10:29 PM 38779 in reply to 38570

    Re: CuteEditor for .NET | Unwanted Code

    Hi Adam,

    Thanks for the response. I believe this issue to be from users copying code from a retired DNN2
    page we had running to the DNN4 which we are now running. New pages which are being created
    have not run into this issue.
View as RSS news feed in XML