﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10469	Request to Cache ID of Element on node.clone()	dggtydnk		"I have run into problems when doing a range.cloneContents() to get the selected HTML and the ID's of elements are being stripped out in the call to node.clone( true ), which triggers a false value for cloneID.

I would like to request that the ID be stored in a data attribute (i.e. data-cke-old-id) so that ID is available to developers if needed for any other processing of the document fragment returned from cloneContents().  For example, in node.js in the clone function, update to:


{{{
if( !cloneId ) {
   if( node.hasAttribute( ""id"" ) )
      node.setAttribute( ""data-cke-old-id"", node.getAttribute( ""id"" ) );
   node.removeAttribute( 'id', false );
}
}}}
"	New Feature	closed	Normal		Core : Parser		invalid		
