Doublespace after first line of text disappears sometimes.

  •  06-06-2007, 3:33 PM

    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.
     
View Complete Thread