source code changes

Last post 01-08-2013, 9:14 PM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  01-07-2013, 9:13 PM 76589

    source code changes

    Hello,

    I have the latest version installed and I also test this out using the demo web site but got the same problem on both the installed version and demo site. Any way to prevent it from reformat my code or is it even possible to do the following? I paste the following code and switch to Normal view and back HTML view and the code got change. Here is partial sample code

     

    Original Code

     

    <table id="title_page" width="690">
                <xsl:choose>
                  <xsl:when test="has_logo = 'Yes'">
                    <tr>
                      <td colspan="2">
                        <img alt="" src="img/company_logo.gif" width="200px" height="200px" />
                      </td>
                    </tr>
                  </xsl:when>
                  <xsl:otherwise>
                    <tr valign="top">
                      <td colspan="2">
                        <h1>No Logo</h1>
                      </td>
                    </tr>
                  </xsl:otherwise>
                </xsl:choose>
    </table> 

     

    Result

     <xsl:choose>
    <xsl:when test="has_logo = 'Yes'">
    </xsl:when></xsl:choose><xsl:otherwise>
    </xsl:otherwise>
    <table id="title_page" width="690">
         <tbody>
             <tr>
                 <td colspan="2">
                 <img alt="" src="img/company_logo.gif" width="200px" height="200px" />
                 </td>
             </tr>
             <tr valign="top">
                 <td colspan="2">
                 <h1>No Logo</h1>
                 </td>
             </tr>
         </tbody>
    </table>

     

    Thanks

     

    Howard 

  •  01-08-2013, 1:14 PM 76593 in reply to 76589

    Re: source code changes

    Hi hlim,

     

    This is the browser behavior, for now can not prevent it in CuteEditor. Sorry for your inconvenience.

     

    Maybe you can try the new version Rich TextEditor http://richtexteditor.com/demo/, the new version should work with your situation.

     

    Regards,

     

    Ken 

  •  01-08-2013, 8:48 PM 76601 in reply to 76593

    Re: source code changes

    I just tried it and when I switch to HTML and paste the code and switch to Normal view, I got a bunch of blank pop up but beside that it seems to be working fine.

     

    question: can I use CuteEditor license for Richtexteditor or do I need to buy a new license for it?

     

    Thanks 

  •  01-08-2013, 9:14 PM 76602 in reply to 76601

    Re: source code changes

    Hi hlim,

     

    If you want to upgrade to RichTextEditor, please refer to http://richtexteditor.com/upgrade.aspx

     

    Regards,

     

    Ken 

View as RSS news feed in XML