﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1503	Errors when styles applied to paragraphs as classname	Jon Håvard Gundersen	Alfonso Martínez de Lizarrondo	"I have made a few testcases based on sample14.html. The first one load custom styles from xml and the second loads custom styles from javascript array in config file. 

Firstly, the behavior is different between these two approaches. When loading custom styles from javascript, the style is applied when chosen, but this is not reflected in the combo box. When loading styles from the xml, the combo box seems to be updated correctly when applying styles to paragraphs. 

Secondly, there are a few issues when loading the styles from the xml file as well. 
[[BR]] 1. The normal style (style without class) is always selected. Expected behaviour is that this style should be selected only when current paragraph has no class (or when it is not overridden by other styles).
[[BR]] 2. When chosing the currently selected style, for a given paragraph, a second time, the  paragraph is removed! The paragraphs innerHTML is placed directly under body.
[[BR]] 3. When a paragraph has no class attribute, all styles are marked as selected. Expected only style ""normal"" to be selected. 

Tested in IE6/IE7"	Bug	closed	Normal	FCKeditor 2.6	Core : Styles	FCKeditor 2.5 Beta	fixed	Review?	
