Index: editor/dialog/fck_specialchar.html
===================================================================
--- editor/dialog/fck_specialchar.html	(revision 1641)
+++ editor/dialog/fck_specialchar.html	(working copy)
@@ -45,6 +45,8 @@
 	oEditor.FCKUndo.SaveUndoStep() ;
 	parent.Selection.EnsureSelection() ;
 	oEditor.FCK.InsertHtml( charValue || "" ) ;
+	if ( oEditor.FCKDialog.SelectionData )
+		oEditor.FCKDialog.SelectionData = oEditor.FCK.EditorDocument.selection.createRange() ;
 	window.parent.Cancel() ;
 }
 
Index: editor/fckdialog.html
===================================================================
--- editor/fckdialog.html	(revision 1641)
+++ editor/fckdialog.html	(working copy)
@@ -386,7 +386,13 @@
 		EnsureSelection : function()
 		{
 			if ( FCKDialog.SelectionData )
-				FCKDialog.SelectionData.select() ;
+			{
+				try
+				{
+					FCKDialog.SelectionData.select() ;
+				}
+				catch ( e ) {}
+			}
 		},
 
 		/**
