#2556: Two paragraph elements added on a single Enter keystroke
----------------------+-----------------------------------------------------
  Reporter:  Xitch13  |       Owner:                    
      Type:  Bug      |      Status:  new               
  Priority:  Normal   |   Milestone:                    
 Component:  General  |     Version:  FCKeditor 2.6.3   
Resolution:           |    Keywords:  Pending WorksForMe
----------------------+-----------------------------------------------------

Comment(by Xitch13):

 I beleive this happens on first load and subsequent loads of the editor.
 I'll give the exact steps I preformed to have this happen the first time.

 I wrote a paragraph within an FCKEditor and saved it.  On save, I grab the
 inner text and save it to my database.  Then I decided to title the
 paragraph, so I reopened the editor and my code set the inner text to what
 was saved in the database.  (I know it was exactly the same because I
 checked both the database table and the source - but checking the source
 was on subsequent saves.)  I placed the cursor at the first position of
 the box and typed the title to the article.  AS I was typing, it was up
 against the original start of the text.  Once I reached the end of the
 title, I hit the enter bar to end the line and push the original text down
 one line.  It went down two.  I hit delete and both lines disappeared.  I
 hit enter again, and checking the source, I saw my new line was
 encapsulated within <p> tags and there was a <p>&nbsp;</p> element(s)
 between the new line of text and the oringal text

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2556#comment:3>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to