Index: CKEditor/trunk/CHANGES.html
===================================================================
--- CKEditor/trunk/CHANGES.html	(revision 4013)
+++ CKEditor/trunk/CHANGES.html	(revision 4014)
@@ -215,4 +215,5 @@
 			was being rendered improperly when loading an image with long URL.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/4144">#4144</a> : Fixed the white-spaces at the end of &lt;pre&gt; is incorrectly removed.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4143">#4143</a> : Fixed element id is lost when extracting contents from the range.</li>
 	</ul>
 	<h3>
Index: CKEditor/trunk/_source/core/dom/range.js
===================================================================
--- CKEditor/trunk/_source/core/dom/range.js	(revision 4013)
+++ CKEditor/trunk/_source/core/dom/range.js	(revision 4014)
@@ -130,5 +130,5 @@
 			// For Extract and Clone, we must clone this level.
 			if ( clone && !levelStartNode.equals( startNode ) )		// action = 0 = Delete
-				levelClone = clone.append( levelStartNode.clone() );
+				levelClone = clone.append( levelStartNode.clone( false, action == 1 ) );
 
 			currentNode = levelStartNode.getNext();
@@ -174,5 +174,5 @@
 			// For Extract and Clone, we must clone this level.
 			if ( action > 0 && !levelStartNode.equals( endNode ) )		// action = 0 = Delete
-				levelClone = clone.append( levelStartNode.clone() );
+				levelClone = clone.append( levelStartNode.clone( false, action == 1 ) );
 
 			// The processing of siblings may have already been done by the parent.
