Index: editor/dialog/common/fck_dialog_common.js
===================================================================
--- editor/dialog/common/fck_dialog_common.js	(revision 1592)
+++ editor/dialog/common/fck_dialog_common.js	(working copy)
@@ -263,7 +263,7 @@
 			if ( oldNode )
 			{
 				CopyAttributes( oldNode, oNewNode, oAttributes ) ;
-				MoveContents( oldNode, oNewNode ) ;
+				oEditor.FCKDomTools.MoveChildren( oldNode, oNewNode ) ;
 				oldNode.parentNode.removeChild( oldNode ) ;
 				oldNode = null ;
 
@@ -326,12 +326,3 @@
 	oDest.style.cssText = oSource.style.cssText ;
 }
 
-// Move the contents from one node to the other
-function MoveContents( oSource, oDest )
-{
-	while ( oSource.firstChild )
-	{
-		var oNode = oSource.removeChild( oSource.firstChild ) ;
-		oDest.appendChild( oNode ) ;
-	}
-}
