Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html	(revision 2138)
+++ /FCKeditor/trunk/_whatsnew.html	(revision 2139)
@@ -50,4 +50,7 @@
 			editor/css/fck_editorarea.css on how to handle style items that would break the style combo.
 			</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2263">#2263</a>] Fixed a JavaScript
+			error in IE which occurs when there are placeholder elements in the document and the user
+			has pressed the Source button.</li>
 	</ul>
 	<p>
Index: /FCKeditor/trunk/editor/_source/internals/fck.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fck.js	(revision 2138)
+++ /FCKeditor/trunk/editor/_source/internals/fck.js	(revision 2139)
@@ -632,5 +632,6 @@
 		var sHtml ;
 
-		// Update the HTML in the view output to show.
+		// Update the HTML in the view output to show, also update
+		// FCKTempBin for IE to avoid #2263.
 		if ( bIsWysiwyg )
 		{
@@ -640,4 +641,7 @@
 
 			sHtml = FCK.GetXHTML( FCKConfig.FormatSource ) ;
+
+			if ( FCKBrowserInfo.IsIE )
+				FCKTempBin.ToHtml() ;
 
 			if ( sHtml == null )
@@ -938,4 +942,7 @@
 	FCK.EditorDocument	= FCK.EditingArea.Document ;
 
+	if ( FCKBrowserInfo.IsIE )
+		FCKTempBin.ToElements() ;
+
 	FCK.InitializeBehaviors() ;
 
@@ -1090,4 +1097,23 @@
 			this.Elements[ i++ ] = null ;
 		this.Elements.length = 0 ;
+	},
+
+	ToHtml : function()
+	{
+		for ( var i = 0 ; i < this.Elements.length ; i++ )
+			this.Elements[i] = this.Elements[i].outerHTML ;
+	},
+
+	ToElements : function()
+	{
+		var node = FCK.EditorDocument.createElement( 'div' ) ;
+		for ( var i = 0 ; i < this.Elements.length ; i++ )
+		{
+			if ( typeof( this.Elements[i] ) == 'string' )
+			{
+				node.innerHTML = this.Elements[i] ;
+				this.Elements[i] = node.firstChild ;
+			}
+		}
 	}
 } ;
Index: /FCKeditor/trunk/editor/dialog/fck_anchor.html
===================================================================
--- /FCKeditor/trunk/editor/dialog/fck_anchor.html	(revision 2138)
+++ /FCKeditor/trunk/editor/dialog/fck_anchor.html	(revision 2139)
@@ -122,5 +122,11 @@
 	{
 		// Nothing was selected, so now just create a normal A
-		aNewAnchors.push( oEditor.FCK.InsertElement( 'a' ) ) ;
+		if ( FCKBrowserInfo.IsIE )
+			aNewAnchors.push( oEditor.FCK.InsertElement( '<a name="' + FCKTools.HTMLEncode( sNewName ).replace( '"', '&quot;' ) + '">' ) ) ;
+		else
+		{
+			var n ;
+			aNewAnchors.push( ( n = oEditor.FCK.InsertElement( 'a' ), n.name = sNewName, n ) ) ;
+		}
 	}
 	else
@@ -135,7 +141,4 @@
 	{
 		oAnchor = aNewAnchors[i] ;
-
-		// Set the name
-		oAnchor.name = sNewName ;
 
 		// IE does require special processing to show the Anchor's image
