retain html formatting

Last post 04-14-2005, 4:11 PM by Adam. 12 replies.
Sort Posts: Previous Next
  •  03-16-2005, 7:30 PM 4723

    retain html formatting

    how do i retain html formatting when switching modes?
    for example, if i enter in HTML mode:
      <div>
      hello
      </div>
    then switch to Normal mode and back to HTML mode
    the html is now:
    <div>hello</div>
  •  03-17-2005, 4:46 PM 4774 in reply to 4723

    Re: retain html formatting

    this is really a problem with mozilla/firefox
    looks like in IE the cuteeditor reformats the html but its still readable
    in mozilla/firefox the resulting html is NOT readable.

  •  03-25-2005, 7:30 PM 4986 in reply to 4774

    Re: retain html formatting

    >>looks like in IE the cuteeditor reformats the html but its still readable

    Cute Editor Supports HTML code indentation and Tags appear in lower case. Cute Editor displays nicely indented code in the HTML mode and the generating HTML tags and Attributes are in lower case. This is very convenient and important for the advanced users.
     
    What kind of formatting are you expecting?
     
    >>in mozilla/firefox the resulting html is NOT readable.

    HTML code indentation feature is not available in the mozilla/firefox now. We will implement this feature in future version. Sorry for the inconvenience.


    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

  •  03-25-2005, 8:48 PM 4987 in reply to 4986

    Re: retain html formatting

    is it possible to turn OFF formatting?
    i'd prefer no formatting to what i'm getting in mozilla.
    i'm looking at this as an HTML tool with a WYSIWYG mode
    as opposed to a WYSIWYG tool with an HTML mode.
    if the subtle difference makes sense.

  •  03-26-2005, 12:21 AM 4988 in reply to 4987

    Re: retain html formatting

    You don't need to turn off it. Cute Editor doesn't change the code formatting in the mozilla, just show the default formatting. HTML code indentation feature is not available in the mozilla/firefox now.



    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

  •  03-26-2005, 3:18 AM 4995 in reply to 4988

    Re: retain html formatting

    something is changing the html code formatting in mozilla
    if i go to HTML mode and enter:

    <div>
    hello
    </div>

    then go to Normal Mode and back to HTML mode,
    my HTML is now:

    <div>hello</div>

    running in the mozilla browser something compresses all the HTML
    into ONE line.

  •  03-26-2005, 7:24 AM 4998 in reply to 4995

    Re: retain html formatting

     RodneyLai wrote:
    something is changing the html code formatting in mozilla
    if i go to HTML mode and enter:

    <div>
    hello
    </div>

    then go to Normal Mode and back to HTML mode,
    my HTML is now:

    <div>hello</div>

    running in the mozilla browser something compresses all the HTML
    into ONE line.

    Sorry, don’t get your issue… CuteSoft is XHTML compliant, is your version of mozilla not… Don’t mean to bash you around here but NO white spaces in the HTML is good, right :)
  •  03-26-2005, 10:33 AM 5000 in reply to 4998

    Re: retain html formatting

    my issuse isn't with the XHTML formatting, but the human readable formatting.
    i just gave a simple example, if you go to the online demo at:
    http://www.cutesoft.net/example/general.aspx

    in IE, I switch to HTML mode and I get nicely formatted HTML:


    <table cellSpacing="4" cellPadding="4" bgColor="#ffffff" border="0">
       <tbody>
           <tr>
               <td>
                  <p><img height="53" src="http://cutesoft.net/Uploads/j0262681.jpg" width="80" />
                  </p>
               </td>
               <td>
                  <p>When your algorithmic and programming skills have reached a level which you cannot improve any further, refining your team strategy will give you that extra edge you need to reach the top. We practiced programming contests with different team members and strategies for many years, and saw a lot of other teams do so too. </p>
               </td>
           </tr>
           <tr>
               <td>
                  <p><img height="52" src="http://cutesoft.net/Uploads/PH02366J.jpg" width="80" />
                  </p>
               </td>
               <td>
                  <p>From this we developed a theory about how an optimal team should behave during a contest. However, a refined strategy is not a must: The World Champions of 1995, Freiburg University, were a rookie team, and the winners of the 1994 Northwestern European Contest, Warsaw University, met only two weeks before that contest. </p>
               </td>
           </tr>
       </tbody>
    </table>
    <br/>
    <br/>

    In Mozilla, I switch to HTML mode and I get everything on ONE line:


    <table bgcolor="#ffffff" border="0" cellpadding="4" cellspacing="4"><tbody><tr><td><p><img src="http://cutesoft.net/Uploads/j0262681.jpg" width="80"></p></td><td><p>When your algorithmic and programming skills have reached a level which you cannot improve any further, refining your team strategy will give you that extra edge you need to reach the top. We practiced programming contests with different team members and strategies for many years, and saw a lot of other teams do so too. </p></td></tr><tr><td><p><img src="http://cutesoft.net/Uploads/PH02366J.jpg" width="80"></p></td><td><p>From this we developed a theory about how an optimal team should behave during a contest. However, a refined strategy is not a must: The World Champions of 1995, Freiburg University, were a rookie team, and the winners of the 1994 Northwestern European Contest, Warsaw University, met only two weeks before that contest. </p></td></tr></tbody></table><br><br>

  •  03-27-2005, 3:24 PM 5015 in reply to 5000

    Re: retain html formatting

    I also would like to turn the formatting off. The problem is that if I have a table with images in it like:
     
    ...
    <td><img src=".."></td>
    ...
     
    The editor turns it into
     
    ...
    <td><img src="...">
    </td>
    ...
     
    The preview mode then shows breaks in the images because of the extra space. How do I turn the format??
  •  04-11-2005, 7:36 PM 5597 in reply to 5015

    Re: retain html formatting

    I too would like to disable auto formatting, if this is a feature that exists it would be nice to use.  If it does not exist it would be nice to have.  We have all kinds of trouble with people entering (poorly formatted) HTML and it changing it to something that is nothing like what they had wanted.  I would rather have poor HTML and a good user experience than the other way around.

    Will someone from CuteSoft please reply.
  •  04-11-2005, 7:40 PM 5598 in reply to 5597

    Re: retain html formatting

    Please download latest version 4.0.0.6. 
     
    The new Editor.DisableAutoFormatting Property has been introduced.  By default Cute Editor will carefully analyze all of your HTML code and begin correcting all errors automatically. What you get is professionally presented code, properly reformatted and ready for use. If you want to preserve the formatting of existing HTML, you can turn this feature off by setting Editor.DisableAutoFormatting property to "true".
     
     

    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-12-2005, 7:55 PM 5651 in reply to 5598

    Re: retain html formatting

    Adam--
     
    Thanks for the reply. We have installed the latest version, and disabled auto formatting. It is still changing the formatting though. EX:

    <table><tr><td></td></tr></table>

    will change to
    <table>
       <tbody>
           <tr>
               <td></td>
           </tr>
       </tbody>
    </table>
     
    I understand the latter is more correct, but I would like it to not change the HTML at all.  Is that possible? Will it be in a future release?
     
     
  •  04-14-2005, 4:11 PM 5742 in reply to 5651

    Re: retain html formatting

    SpreadTheWord,

    This issue has been resolved in the version 4.0.0.7.



    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

View as RSS news feed in XML