Doublespace after first line of text disappears sometimes.

Last post 06-07-2007, 9:01 AM by MRosamond. 2 replies.
Sort Posts: Previous Next
  •  06-06-2007, 3:33 PM 30449

    Doublespace after first line of text disappears sometimes.

    I have noticed the following issue: I type a line of text into the editor and then click enter twice and type another line of text which leaves me with two lines of text seperated by a blank line.  If I then view what I just typed in preview mode or access the contents of the editor programmatically then the blank line is not there and my first line of text is immediately above the other.  This only seems to happen the first time or two when I bring up the editor.  If I clear the editor and start over, it doesn't happen.  I have seen this same behavoir in the online demo and can recreate it there sometimes but not every time.  Has anyone else noticed this and know any ways to fix the issue?  Is is a bug with the editor? If I view the html it looks like the <div>&nbsp;</div> for the blank line is not being inserted.
     
    Here is an example of what I am talking about:
     
    I type the following:
    This is a test.
     
    This is a test.
     
    It appears like this in preview mode:
    This is a test.
    This is a test.
     
  •  06-06-2007, 5:24 PM 30451 in reply to 30449

    Re: Doublespace after first line of text disappears sometimes.

    MRosamond,
     
    Which version of Cute Editor are you using?
     
    How did you set the BreakElement property?
     
    Can you try the following example and find the correct option for your situation?
     
     
     
     

    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

  •  06-07-2007, 9:01 AM 30484 in reply to 30451

    Re: Doublespace after first line of text disappears sometimes.

    I am using the latest, greatest version with the default setting which appears to be divs.  I switched it to use Br instead and that appears to be working much better.  I am unable to reproduce the problem with that setting so I'll just use it.  Thanks.
View as RSS news feed in XML