﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1492	element.attributes not correctly updated in IE after cloneNode	Jon Håvard Gundersen		"This is not a specific FCKeditor bug, but I need some help. 

I have implemented a ""following paragraphstyle"" functionality. This works by altering the class name to the new element that is created in fckenterkey. But I have met a strange IE7 bug(?). When I alter the className attribute to the element (with either element.className or element.setAttribute) that are cloned from the previous block this value seems to be updated as expected. BUT the attributes nodemapArray are not updated. This causes the check in FCKDomTools.GetAttributeValue to fail because it returns the old classname and not the new one.

Therefore the style class label are not updated to new style, and when I switch edit mode to source view the old class value (that is stored in the attributes array) is still used.

It seems to me that there is a bug in the clone method in IE that causes the two elements to reference the same attribute map, but I can be wrong...

Do you have any hints to how I can set a class name and be sure that element.attributes['class'].nodeValue is updated?
"	Bug	closed	Normal		General		invalid		
