Index: /FCKeditor/trunk/editor/_source/internals/fckundo.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckundo.js	(revision 614)
+++ /FCKeditor/trunk/editor/_source/internals/fckundo.js	(revision 615)
@@ -36,6 +36,7 @@
 	{
 		var selection = FCK.EditorDocument.selection ;
-		if ( selection.type == 'Text' )
-			return selection.createRange().getBookmark() ;
+		var range = selection.createRange() ;
+		if ( range && range.getBookmark )
+			return range.getBookmark() ;
 		else
 			return null ;
