﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
246	EnterMode=div can lose tags in Firefox	robmueller		"Browser: Firefox 2.0.0.2

The following causes <div> tags to be lost when EnterMode=div and text to be corrupted (eg whitespace is lost and lines are joined together)

1. Go to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html and switch to the ""Enter key behaviour"" editor[[BR]]
2. Switch ""When [Enter] is pressed"" to ""Create new <div>""[[BR]]
3. Type a<enter>b<enter>c<enter>[[BR]]
4. Go to view source mode. Note lines are correctly created with divs (eg. <div>a</div>, etc)[[BR]]
5. Switch back to wysiwig mode[[BR]]
6. Ctrl-A to select all[[BR]]
7. Click the ""center text"" toolbar icon (nothing happens)[[BR]]
8. Go to view source mode. Note that there is only 1 div, and after ""a"" there is a <br />, and b and c are now together with no tags between them[[BR]]
9. Go back to wysiwyg mode. Note that b and c are now together on the same line with no spacing between them.

It basically seems that some editor commands completely break the <div>'s. From some testing this appears related to alignment (left/right/center/justify) and changing to list items/back from list items.
"	Bug	closed	Normal	FCKeditor 2.5 Beta	Core : Styles	FCKeditor 2.4	fixed	Confirmed Firefox	
